Delen via


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)

Usage

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

returnValue = SchemaType.Create(typeName, lockAnchorDefinition)

Syntax

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

Parameters

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

Platforms

Target Platforms

See Also

Reference

SchemaType Class
SchemaType Members
Microsoft.MetadirectoryServices Namespace