Compartir a través de


DataType.UserDefinedDataType Method (String, String)

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

Espacio de nombres: Microsoft.SqlServer.Management.Smo
Ensamblado: Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)

Sintaxis

'Declaración
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

Parámetros

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

Valor devuelto

A DataType object value.

Notas

Este espacio de nombres, clase o miembro solamente se admite en la versión 2.0 de Microsoft .NET Framework.

Ejemplo

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

Seguridad para subprocesos

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.

Plataformas

Plataformas de desarrollo

Para obtener una lista de las plataformas compatibles, vea Requisitos de hardware y software para instalar SQL Server 2005.

Plataformas de destino

Para obtener una lista de las plataformas compatibles, vea Requisitos de hardware y software para instalar SQL Server 2005.

Vea también

Referencia

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

Otros recursos

Working with Data Types
Working with Data Types