Condividi tramite


UserDefinedType Constructor (Database, String, String)

Initializes a new instance of the UserDefinedType class on the specified database and with the specified name and schema.

Spazio dei nomi: Microsoft.SqlServer.Management.Smo
Assembly : Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)

Sintassi

'Dichiarazione
Public Sub New ( _
    database As Database, _
    name As String, _
    schema As String _
)
public UserDefinedType (
    Database database,
    string name,
    string schema
)
public:
UserDefinedType (
    Database^ database, 
    String^ name, 
    String^ schema
)
public UserDefinedType (
    Database database, 
    String name, 
    String schema
)
public function UserDefinedType (
    database : Database, 
    name : String, 
    schema : String
)

Parametri

  • database
    A Database object that specifies the database to which the alias data type belongs.
  • name
    A String value that specifies the name of the alias data type.
  • schema
    A String value that specifies the schema of the alias data type.

Osservazioni

Questo spazio dei nomi, classe o membro è supportato solo nella versione 2.0 di Microsoft .NET Framework.

Esempio

How to: Construct an Object in Visual Basic .NET

Piattaforme

Piattaforme di sviluppo

Per un elenco delle piattaforme supportate, vedere Requisiti hardware e software per l'Installazione di SQL Server 2005.

Piattaforme di destinazione

Per un elenco delle piattaforme supportate, vedere Requisiti hardware e software per l'Installazione di SQL Server 2005.

Vedere anche

Riferimento

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

Altre risorse

Working with Data Types
Utilizzo di tipi CLR definiti dall'utente
CREATE TYPE (Transact-SQL)