SCCM WebService API Reference

SCCMWebService..::..ImportComputerList Method

Imports a list of computers and returns the new resource ids.

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

Syntax


[SoapHeaderAttribute]
[WebMethodAttribute]
public DataSet ImportComputerList(
	string[] computerList,
	out KeyValuePair<string, int>[] resourceIDs
)
<SoapHeaderAttribute> _
<WebMethodAttribute> _
Public Function ImportComputerList ( _
	computerList As String(), _
	<OutAttribute> ByRef resourceIDs As KeyValuePair(Of String, Integer)() _
) As DataSet
[SoapHeaderAttribute]
[WebMethodAttribute]
public:
DataSet^ ImportComputerList(
	array<String^>^ computerList, 
	[OutAttribute] array<KeyValuePair<String^, int^>^>^% resourceIDs
)

Parameters

computerList
Type: array<String>[]()[][]
The computer list.
resourceIDs
Type: array<KeyValuePair<(Of <(<'String, Int32>)>)>>[]()[][]%
KeyValuePair

Return Value

DataSet: Name, ResourceID, ErrorMessage