Compartilhar via


ManagementPackClassProperty.Required Property

Gets or sets a required value in the attribute value type template.

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

Usage

'Usage
Dim instance As ManagementPackClassProperty
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

true if the attribute value type template is set to be required; 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

ManagementPackClassProperty Class
ManagementPackClassProperty Members
Microsoft.EnterpriseManagement.Configuration Namespace