SqlSmoObject.AddDatabaseContext 方法

Add the database context to the collection of queries identified by the queries parameter.

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

语法

声明
Protected Sub AddDatabaseContext ( _
    queries As StringCollection _
)
用法
Dim queries As StringCollection 

Me.AddDatabaseContext(queries)
protected void AddDatabaseContext(
    StringCollection queries
)
protected:
void AddDatabaseContext(
    StringCollection^ queries
)
member AddDatabaseContext : 
        queries:StringCollection -> unit
protected function AddDatabaseContext(
    queries : StringCollection
)

参数

请参阅

参考

SqlSmoObject 类

Microsoft.SqlServer.Management.Smo 命名空间