共用方式為


ScriptDrop 方法

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

語法

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

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