SCCM WebService API Reference

SCCMWebService..::..GetResourceIDFromComputername Method

Gets the resource identifier from specified computer name.

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

Syntax


[SoapHeaderAttribute]
[WebMethodAttribute]
public int GetResourceIDFromComputername(
	string computerName
)
<SoapHeaderAttribute> _
<WebMethodAttribute> _
Public Function GetResourceIDFromComputername ( _
	computerName As String _
) As Integer
[SoapHeaderAttribute]
[WebMethodAttribute]
public:
int^ GetResourceIDFromComputername(
	String^ computerName
)

Parameters

computerName
Type: String
Name of the computer.

Return Value

ResourceID as Int32.