DatabaseFile.ScriptDrop Method
Drops the script that is used to create the file in the database.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
Protected Overrides Sub ScriptDrop ( _
dropQuery As StringCollection, _
so As ScriptingOptions _
)
'Usage
Dim dropQuery As StringCollection
Dim so As ScriptingOptions
Me.ScriptDrop(dropQuery, so)
protected override void ScriptDrop(
StringCollection dropQuery,
ScriptingOptions so
)
protected:
virtual void ScriptDrop(
StringCollection^ dropQuery,
ScriptingOptions^ so
) override
abstract ScriptDrop :
dropQuery:StringCollection *
so:ScriptingOptions -> unit
override ScriptDrop :
dropQuery:StringCollection *
so:ScriptingOptions -> unit
protected override function ScriptDrop(
dropQuery : StringCollection,
so : ScriptingOptions
)
Parameters
- dropQuery
Type: System.Collections.Specialized.StringCollection
A StringCollection.
- so
Type: Microsoft.SqlServer.Management.Smo.ScriptingOptions
A ScriptingOptions object.
See Also