共用方式為


ScriptDdl 方法

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
Protected Overridable Sub ScriptDdl ( _
    query As StringCollection, _
    so As ScriptingOptions _
)
'用途
Dim query As StringCollection
Dim so As ScriptingOptions

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