Export (0) Print
Expand All

IComputerTarget.Id Property

Gets the GUID of the client computer.


Namespace: Microsoft.UpdateServices.Administration
Assembly: Microsoft.UpdateServices.Administration (in Microsoft.UpdateServices.Administration.dll)

string Id { get; }
/** @property */
String get_Id ()

function get Id () : String

Property Value

The GUID of the client computer.

Exception typeCondition
WsusObjectNotFoundException

You cannot attempt to get the client using the temporary value after WSUS changes the identifier.

WSUS sets the identifier value when you call RegisterComputer to register a client computer. The client first contacts the WSUS server to register itself when you call RegisterComputer, WSUS creates a temporary Id value for the client. When the client first contacts the WSUS server, WSUS changes the identifier to the client's identifier value. If you try to get the client using the temporary value after WSUS changes the identifier, you will receive a WsusObjectNotFoundException exception.


Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Development Platforms

Target Platforms

Windows Server 2008, Windows Server 2003, Windows Server 2008 R2
Show:
© 2014 Microsoft