SqlSmoObject.AddDatabaseContext Method (StringCollection)
Applies To: SQL Server 2016 Preview
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
protected void AddDatabaseContext(
StringCollection queries
)
protected:
void AddDatabaseContext(
StringCollection^ queries
)
member AddDatabaseContext :
queries:StringCollection -> unit
Protected Sub AddDatabaseContext (
queries As StringCollection
)
Parameters
queries
Type: System.Collections.Specialized.StringCollectionA StringCollection of queries.
See Also
SqlSmoObject Class
Microsoft.SqlServer.Management.Smo Namespace
Return to top