SqlSmoObject.AddDatabaseContext Method
Add the database context to the collection of queries identified by the queries parameter.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
Protected Sub AddDatabaseContext ( _
queries As StringCollection _
)
'Usage
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
)
Parameters
- queries
Type: System.Collections.Specialized.StringCollection
A StringCollection of queries.