共用方式為


ProgramKey Class

 

Applies To: Windows Server Update Services

Represents the program key.

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

Inheritance Hierarchy

System.Object
  Microsoft.UpdateServices.Administration.ProgramKey

Syntax

[SerializableAttribute]
[ClassInterfaceAttribute(ClassInterfaceType.None)]
[GuidAttribute("41465117-CB08-4326-BA52-174319703D9A")]
[ComVisibleAttribute(true)]
public class ProgramKey
[SerializableAttribute]
[ClassInterfaceAttribute(ClassInterfaceType::None)]
[GuidAttribute("41465117-CB08-4326-BA52-174319703D9A")]
[ComVisibleAttribute(true)]
public ref class ProgramKey 
[<SerializableAttribute>]
[<ClassInterfaceAttribute(ClassInterfaceType.None)>]
[<GuidAttribute("41465117-CB08-4326-BA52-174319703D9A")>]
[<ComVisibleAttribute(true)>]
type ProgramKey = class end
<SerializableAttribute>
<ClassInterfaceAttribute(ClassInterfaceType.None)>
<GuidAttribute("41465117-CB08-4326-BA52-174319703D9A")>
<ComVisibleAttribute(True)>
Public Class ProgramKey

Constructors

Name Description
System_CAPS_protmethod ProgramKey()

Initializes a new instance of the ProgramKey class.

System_CAPS_pubmethod ProgramKey(Guid)

Initializes a new instance of the ProgramKey class with the given GUID.

System_CAPS_pubmethod ProgramKey(Guid, String)

Initializes a new instance of the ProgramKey class with the given GUID and description.

Properties

Name Description
System_CAPS_pubproperty Description

Gets or sets the key description.

System_CAPS_pubproperty Key

Gets or sets the program key.

Methods

Name Description
System_CAPS_pubmethod Equals(Object)

Compares this object against the givenobject to see if they are equal.(Overrides Object.Equals(Object).)

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

Serves as a hash function for a ProgramKey, suitable for using in hashing algorithms and data structures like a hash table.(Overrides Object.GetHashCode().)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethod ToString()

(Inherited from Object.)

Thread Safety

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

See Also

Microsoft.UpdateServices.Administration Namespace

Return to top