AuditSpecification.ScriptDrop Method
Drops an existing audit specification script.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
Protected Overrides Sub ScriptDrop ( _
query As StringCollection, _
so As ScriptingOptions _
)
'Usage
Dim query As StringCollection
Dim so As ScriptingOptions
Me.ScriptDrop(query, so)
protected override void ScriptDrop(
StringCollection query,
ScriptingOptions so
)
protected:
virtual void ScriptDrop(
StringCollection^ query,
ScriptingOptions^ so
) override
abstract ScriptDrop :
query:StringCollection *
so:ScriptingOptions -> unit
override ScriptDrop :
query:StringCollection *
so:ScriptingOptions -> unit
protected override function ScriptDrop(
query : StringCollection,
so : ScriptingOptions
)
Parameters
- query
Type: System.Collections.Specialized.StringCollection
A StringCollection object that specifies the query to be dropped.
- so
Type: Microsoft.SqlServer.Management.Smo.ScriptingOptions
A ScriptingOptions object that specifies the scripting options associated with the script.