Compartir a través de


ScriptDdl Método

Builds a DDL script by using specified options from an existing String Collection object.

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

Sintaxis

'Declaración
Protected Overrides Sub ScriptDdl ( _
    queries As StringCollection, _
    so As ScriptingOptions _
)
'Uso
Dim queries As StringCollection
Dim so As ScriptingOptions

Me.ScriptDdl(queries, so)
protected override void ScriptDdl(
    StringCollection queries,
    ScriptingOptions so
)
protected:
virtual void ScriptDdl(
    StringCollection^ queries, 
    ScriptingOptions^ so
) override
abstract ScriptDdl : 
        queries:StringCollection * 
        so:ScriptingOptions -> unit 
override ScriptDdl : 
        queries:StringCollection * 
        so:ScriptingOptions -> unit 
protected override function ScriptDdl(
    queries : StringCollection, 
    so : ScriptingOptions
)

Ejemplos

Scripting