Share via


EnterpriseManagementSimpleObject.PopulateAutoIncrementCache Method

[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Populates the internal auto-increment cache with the values from the specific property.

Namespace: Microsoft.EnterpriseManagement.Common
Assembly: Microsoft.EnterpriseManagement.Core (in Microsoft.EnterpriseManagement.Core.dll)

Usage

'Usage
Dim property As ManagementPackProperty
Dim managementGroup As EnterpriseManagementGroup
Dim batchSize As Integer

EnterpriseManagementSimpleObject.PopulateAutoIncrementCache(property, managementGroup, batchSize)

Syntax

'Declaration
Public Shared Sub PopulateAutoIncrementCache ( _
    property As ManagementPackProperty, _
    managementGroup As EnterpriseManagementGroup, _
    batchSize As Integer _
)
public static void PopulateAutoIncrementCache (
    ManagementPackProperty property,
    EnterpriseManagementGroup managementGroup,
    int batchSize
)
public:
static void PopulateAutoIncrementCache (
    ManagementPackProperty^ property, 
    EnterpriseManagementGroup^ managementGroup, 
    int batchSize
)
public static void PopulateAutoIncrementCache (
    ManagementPackProperty property, 
    EnterpriseManagementGroup managementGroup, 
    int batchSize
)
public static function PopulateAutoIncrementCache (
    property : ManagementPackProperty, 
    managementGroup : EnterpriseManagementGroup, 
    batchSize : int
)

Parameters

  • property
    The auto-increment property.
  • managementGroup
    The management group that owns the property.
  • batchSize
    The size of the batch.

Exceptions

Exception type Condition
ArgumentNullException

The property parameter is a null reference (Nothing in Visual Basic).

-or-

The managementGroup parameter is a null reference (Nothing in Visual Basic).

ArgumentOutOfRangeException

The batchSize parameter is less than zero.

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

EnterpriseManagementSimpleObject Class
EnterpriseManagementSimpleObject Members
Microsoft.EnterpriseManagement.Common Namespace