SCCM WebService API Reference

SCCMWebService..::..GetComputerVariables Method

Gets the computer variables.

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

Syntax


[SoapHeaderAttribute]
[WebMethodAttribute]
public ComputerVariables[] GetComputerVariables(
	int resourceID
)
<SoapHeaderAttribute> _
<WebMethodAttribute> _
Public Function GetComputerVariables ( _
	resourceID As Integer _
) As ComputerVariables()
[SoapHeaderAttribute]
[WebMethodAttribute]
public:
array<ComputerVariables^>^ GetComputerVariables(
	int^ resourceID
)

Parameters

resourceID
Type: Int32
The resource identifier.

Return Value

SCCMComputerVariables.ComputerVariables[].

Exceptions


ExceptionCondition
Exception ResourceID must not be empty! or Computer with ResourceID ' + resourceID + ' does not exist.