Partition.Create Method (Guid, String, String)

Creates a new Partition object.

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


Dim identifier As Guid
Dim dn As String
Dim name As String
Dim returnValue As Partition

returnValue = Partition.Create(identifier, dn, name)


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


  • identifier
    Identifier for the partition.
  • dn
    Distinguished name for the partition.
  • name
    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.


Target Platforms

See Also


Partition Class
Partition Members
Microsoft.MetadirectoryServices Namespace