EN
Dieser Inhalt ist in Ihrer Sprache leider nicht verfügbar. Im Folgenden finden Sie die englische Version.

IComputerTarget.Id Property

 

Applies To: Windows Server Update Services

Gets the GUID of the client computer.

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

string Id { get; }

Property Value

Type: System.String

The GUID of the client computer.

Exception Condition
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.

Return to top

Community-Beiträge

HINZUFÜGEN
Anzeigen: