Compartilhar via


ManagementPackProperty.Required Property

Gets or sets a value that indicates whether a required state is set.

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.Required

instance.Required = value

Syntax

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

/** @property */
public void set_Required (boolean value)
public function get Required () : boolean

public function set Required (value : boolean)

Property Value

Returns Boolean.

true if a required state is set; otherwise, false.

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