SCCM WebService API Reference

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

Sets the computer variables.

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

Syntax


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

Parameters

resourceID
Type: Int32
The resource ID.
variables
Type: array<KeyValuePair<(Of <(<'String, String>)>)>>[]()[][]
An array of computer variables as KeyValuePair.

Return Value

true if succeeded, otherwise false.