SCCM WebService API Reference

SCCMWebService..::..SetComputerVariables Method (array<Int32>[]()[][], array<KeyValuePair<(Of <(<'String, String>)>)>>[]()[][])

Sets the computer variables of multiple resources.

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

Syntax


[SoapHeaderAttribute]
[WebMethodAttribute]
public DataSet SetComputerVariables(
	int[] resourceIDs,
	KeyValuePair<string, string>[] variables
)
<SoapHeaderAttribute> _
<WebMethodAttribute> _
Public Function SetComputerVariables ( _
	resourceIDs As Integer(), _
	variables As KeyValuePair(Of String, String)() _
) As DataSet
[SoapHeaderAttribute]
[WebMethodAttribute]
public:
DataSet^ SetComputerVariables(
	array<int^>^ resourceIDs, 
	array<KeyValuePair<String^, String^>^>^ variables
)

Parameters

resourceIDs
Type: array<Int32>[]()[][]
Array of resource identifiers.
variables
Type: array<KeyValuePair<(Of <(<'String, String>)>)>>[]()[][]
The computer variables as KeyValuePair.

Return Value

DataSet: ResourceID, Result