Schema Constructor (Database, String)
Initializes a new instance of the Schema class on the specified database and with the specified name.
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 _
)
public Schema (
Database database,
string name
)
public:
Schema (
Database^ database,
String^ name
)
public Schema (
Database database,
String name
)
public function Schema (
database : Database,
name : String
)
Parametri
- database
A Database object value that specifies the database on which to create the schema.
- name
A String value that specifies the name of the schema.
Osservazioni
Questo spazio dei nomi, classe o membro è supportato solo nella versione 2.0 di Microsoft .NET Framework.
Esempio
How to: Create, Alter, and Remove a Schema 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
Schema Class
Schema Members
Microsoft.SqlServer.Management.Smo Namespace
Altre risorse
Creating, Altering, and Removing Schemas
Informazioni sugli schemi di database
CREATE SCHEMA (Transact-SQL)