SchemaType.Create Method

Creates a SchemaType object that represents an object type for a schema definition.

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


Dim typeName As String
Dim lockAnchorDefinition As Boolean
Dim returnValue As SchemaType

returnValue = SchemaType.Create(typeName, lockAnchorDefinition)


Public Shared Function Create ( _
    typeName As String, _
    lockAnchorDefinition As Boolean _
) As SchemaType
public static SchemaType Create (
    string typeName,
    bool lockAnchorDefinition
static SchemaType^ Create (
    String^ typeName, 
    bool lockAnchorDefinition
public static SchemaType Create (
    String typeName, 
    boolean lockAnchorDefinition
public static function Create (
    typeName : String, 
    lockAnchorDefinition : boolean
) : SchemaType


  • typeName
    The name of the object type.
  • lockAnchorDefinition
    Indicates whether the UI allows modification to the anchor definition.

Return Value

Returns SchemaType.

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


SchemaType Class
SchemaType Members
Microsoft.MetadirectoryServices Namespace