Compartilhar via


SchemaAttribute.CreateMultiValuedAttribute Method (String, AttributeType)

Creates an SchemaAttribute object that represents an attribute that contains multiple values.

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

Usage

'Usage
Dim attributeName As String
Dim dataType As AttributeType
Dim returnValue As SchemaAttribute

returnValue = SchemaAttribute.CreateMultiValuedAttribute(attributeName, dataType)

Syntax

'Declaration
Public Shared Function CreateMultiValuedAttribute ( _
    attributeName As String, _
    dataType As AttributeType _
) As SchemaAttribute
public static SchemaAttribute CreateMultiValuedAttribute (
    string attributeName,
    AttributeType dataType
)
public:
static SchemaAttribute^ CreateMultiValuedAttribute (
    String^ attributeName, 
    AttributeType dataType
)
public static SchemaAttribute CreateMultiValuedAttribute (
    String attributeName, 
    AttributeType dataType
)
public static function CreateMultiValuedAttribute (
    attributeName : String, 
    dataType : AttributeType
) : SchemaAttribute

Parameters

  • attributeName
    The name of the attribute.
  • dataType
    The data type of the attribute.

Return Value

Returns SchemaAttribute.

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

SchemaAttribute Class
SchemaAttribute Members
Microsoft.MetadirectoryServices Namespace