Поделиться через


DataType.UserDefinedType Method (String, String)

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

Пространство имен: Microsoft.SqlServer.Management.Smo
Сборка: Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)

Синтаксис

'Декларация
Public Shared Function UserDefinedType ( _
    type As String, _
    schema As String _
) As DataType
public static DataType UserDefinedType (
    string type,
    string schema
)
public:
static DataType^ UserDefinedType (
    String^ type, 
    String^ schema
)
public static DataType UserDefinedType (
    String type, 
    String schema
)
public static function UserDefinedType (
    type : String, 
    schema : String
) : DataType

Параметры

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

Возвращаемое значение

A DataType object value.

Замечания

Это пространство имен, класс или элемент поддерживаются только платформой Microsoft .NET Framework версии 2.0.

Пример

How to: Construct a DataType Object by Using the Default Constructor in Visual Basic .NET

Синхронизация потоков

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.

Платформы

Платформы разработки

Список поддерживаемых платформ см. в разделе Hardware and Software Requirements for Installing SQL Server 2005.

Целевые платформы

Список поддерживаемых платформ см. в разделе Hardware and Software Requirements for Installing SQL Server 2005.

См. также

Справочник

DataType Class
DataType Members
Microsoft.SqlServer.Management.Smo Namespace

Другие ресурсы

Working with Data Types