ManagementPackProperty.Key Property

[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Gets or sets a value that indicates whether or not this property is a key property of its class.

Namespace: Microsoft.EnterpriseManagement.Configuration
Assembly: Microsoft.EnterpriseManagement.Core (in Microsoft.EnterpriseManagement.Core.dll)

Usage

'Usage
Dim instance As ManagementPackProperty
Dim value As Boolean

value = instance.Key

instance.Key = value

Syntax

'Declaration
Public Property Key As Boolean
public bool Key { get; set; }
public:
property bool Key {
    bool get ();
    void set (bool value);
}
/** @property */
public boolean get_Key ()

/** @property */
public void set_Key (boolean value)
public function get Key () : boolean

public function set Key (value : boolean)

Property Value

true if a key is set; otherwise, false.

Remarks

Cannot be true for DateTime properties.

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.

Platforms

Development Platforms

Windows Vista, Windows Server 2003, and

Target Platforms

Windows Server 2008,Windows Server 2003

See Also

Reference

ManagementPackProperty Class
ManagementPackProperty Members
Microsoft.EnterpriseManagement.Configuration Namespace