Schema 构造函数 (Database, String)

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

命名空间:  Microsoft.SqlServer.Management.Smo
程序集:  Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)

语法

声明
Public Sub New ( _
    database As Database, _
    name As String _
)
用法
Dim database As Database 
Dim name As String 

Dim instance As New Schema(database, _
    name)
public Schema(
    Database database,
    string name
)
public:
Schema(
    Database^ database, 
    String^ name
)
new : 
        database:Database * 
        name:string -> Schema
public function Schema(
    database : Database, 
    name : String
)

参数

示例

创建、更改和删除架构

请参阅

参考

Schema 类

Schema 重载

Microsoft.SqlServer.Management.Smo 命名空间

其他资源

了解数据库架构

CREATE SCHEMA (Transact-SQL)