Share via


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