Compartilhar via


ManagementPackProperty.RegEx Property

Gets or sets a regular expression value in the attribute value type template. Valid only for string properties.

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

Usage

'Usage
Dim instance As ManagementPackProperty
Dim value As String

value = instance.RegEx

instance.RegEx = value

Syntax

'Declaration
Public Property RegEx As String
public string RegEx { get; set; }
public:
property String^ RegEx {
    String^ get ();
    void set (String^ value);
}
/** @property */
public String get_RegEx ()

/** @property */
public void set_RegEx (String value)
public function get RegEx () : String

public function set RegEx (value : String)

Property Value

Returns String.

The regular expression value in the attribute value type template.

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