SCCMWebService..::..GetComputerVariables Method
Gets the computer variables.
Namespace:
SCCMWebServiceAssembly: 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
Exception | Condition |
---|---|
Exception | ResourceID must not be empty! or Computer with ResourceID ' + resourceID + ' does not exist. |