[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

Visual Basic
Dim instance As ManagementPackProperty
Dim value As Boolean

value = instance.Key

instance.Key = value

Syntax

Visual Basic
Public Property Key As Boolean
C#
public bool Key { get; set; }
C++
public:
property bool Key {
		bool get ();
		void set (bool value);
}
J#
/** @property */
public boolean get_Key ()

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

public function set Key (value : boolean)

Property Value

Returns Boolean. 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 Server 2008, Windows Vista, Windows Server 2003, and Windows XP

Target Platforms

Windows Server 2008,Windows Server 2003

See Also