SCCM WebService API Reference

SCCMWebService..::..ImportMachineEntry Method (String, String, String, Boolean)

Imports the machine entry.

Namespace:  SCCMWebService
Assembly:  SCCMWebService (in SCCMWebService.dll)

Syntax


[SoapHeaderAttribute]
[WebMethodAttribute]
public int ImportMachineEntry(
	string netBiosName,
	string macAddress,
	string SMBIOSGUID,
	bool overwriteExistingRecord
)
<SoapHeaderAttribute> _
<WebMethodAttribute> _
Public Function ImportMachineEntry ( _
	netBiosName As String, _
	macAddress As String, _
	SMBIOSGUID As String, _
	overwriteExistingRecord As Boolean _
) As Integer
[SoapHeaderAttribute]
[WebMethodAttribute]
public:
int^ ImportMachineEntry(
	String^ netBiosName, 
	String^ macAddress, 
	String^ SMBIOSGUID, 
	bool^ overwriteExistingRecord
)

Parameters

netBiosName
Type: String
Name of the computer.
macAddress
Type: String
The macAddress.
SMBIOSGUID
Type: String
The smbiosguid.
overwriteExistingRecord
Type: Boolean
if set to true [overwrite existing record].

Return Value

DataSet.

Exceptions


ExceptionCondition
ExceptionComputer with name + computerName + already exists.