SqlSmoObject.ScriptDrop Method

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
Protected Overridable Sub ScriptDrop ( _
    dropQuery As StringCollection, _
    so As ScriptingOptions _
)
'Usage
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
)