Share via


Partition.Create Method (Guid, String)

Creates a new Partition object.

Namespace: Microsoft.MetadirectoryServices
Assembly: Microsoft.MetadirectoryServicesEx (in Microsoft.MetadirectoryServicesEx.dll)

Usage

'Usage
Dim identifier As Guid
Dim dn As String
Dim returnValue As Partition

returnValue = Partition.Create(identifier, dn)

Syntax

'Declaration
Public Shared Function Create ( _
    identifier As Guid, _
    dn As String _
) As Partition
public static Partition Create (
    Guid identifier,
    string dn
)
public:
static Partition^ Create (
    Guid identifier, 
    String^ dn
)
public static Partition Create (
    Guid identifier, 
    String dn
)
public static function Create (
    identifier : Guid, 
    dn : String
) : Partition

Parameters

  • identifier
    Identifier for the partition.
  • dn
    Distinguished name for the partition.

Return Value

Returns Partition.

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

Target Platforms

See Also

Reference

Partition Class
Partition Members
Microsoft.MetadirectoryServices Namespace