Compartilhar via


ManagementPackProperty.AutoIncrement Property

Gets or sets a value that indicates whether auto-increment is set. Valid only for string and integer properties.

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

instance.AutoIncrement = value

Syntax

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

/** @property */
public void set_AutoIncrement (boolean value)
public function get AutoIncrement () : boolean

public function set AutoIncrement (value : boolean)

Property Value

Returns Boolean.

true if an auto-increment 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