AddDatabaseContext-Methode (StringCollection, ScriptingOptions)

Fügt der Auflistung der vom queries-Parameter identifizierten Abfragen den Datenbankkontext gemäß den angegebenen Skriptoptionen hinzu.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
Protected Sub AddDatabaseContext ( _
    queries As StringCollection, _
    so As ScriptingOptions _
)
'Usage
Dim queries As StringCollection
Dim so As ScriptingOptions

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

Parameter

Hinweise

Example