Partager via


ProgramKey.Key Property

 

Applies To: Windows Server Update Services

Gets or sets the program key.

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

Syntax

public Guid Key { get; set; }
public:
property Guid Key {
    Guid get();
    void set(Guid value);
}
member Key : Guid with get, set
Public Property Key As Guid

Property Value

Type: System.Guid

The program key as a GUID value.

Exceptions

Exception

Condition

ArgumentException

The value is an empty GUID.

See Also

ProgramKey Class
Microsoft.UpdateServices.Administration Namespace

Return to top