Udostępnij przez


DataType.UserDefinedDataType Method (String, String)

Returns an object that represents the specified type with the specified schema.

Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)

Syntax

'Deklaracja
Public Shared Function UserDefinedDataType ( _
    type As String, _
    schema As String _
) As DataType
public static DataType UserDefinedDataType (
    string type,
    string schema
)
public:
static DataType^ UserDefinedDataType (
    String^ type, 
    String^ schema
)
public static DataType UserDefinedDataType (
    String type, 
    String schema
)
public static function UserDefinedDataType (
    type : String, 
    schema : String
) : DataType

Parameters

  • type
    A String value that specifies the type.
  • schema
    A String value that specifies the schema.

Return Value

A DataType object value.

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.