Compartir a través de


AddDatabaseContext Método (StringCollection, ScriptingOptions)

Agrega el contexto de la base de datos a la colección de consultas identificada por el parámetro queries usando las opciones de scripting especificadas.

Espacio de nombres:  Microsoft.SqlServer.Management.Smo
Ensamblado:  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Sintaxis

'Declaración
Protected Sub AddDatabaseContext ( _
    queries As StringCollection, _
    so As ScriptingOptions _
)
'Uso
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
)

Parámetros

Comentarios

Example