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
)
參數
- queries
型別:System.Collections.Specialized.StringCollection
A StringCollection of queries.