SqlSmoObject.ScriptDrop Method
Throws InvalidSmoOperationException.
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
)
Parameters
- dropQuery
Type: System.Collections.Specialized.StringCollection
A StringCollection object.
- so
Type: Microsoft.SqlServer.Management.Smo.ScriptingOptions
A ScriptingOptions object.