ScriptDdl 方法

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

命名空间:  Microsoft.SqlServer.Management.Smo
程序集:  Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)

语法

声明
Protected Overrides Sub ScriptDdl ( _
    queries As StringCollection, _
    so As ScriptingOptions _
)
用法
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
)

示例

脚本撰写