SCCM WebService API Reference

SCCMWebService..::..ImportComputerList2 Method

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

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

Syntax


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

Parameters

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

Return Value

true if succeeded, otherwise false.