Partager via


Partition.Create Method (Guid, String, 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 name As String
Dim returnValue As Partition

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

Syntax

'Declaration
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
)
public:
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

Parameters

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

Platforms

Target Platforms

See Also

Reference

Partition Class
Partition Members
Microsoft.MetadirectoryServices Namespace