AuditSpecification.ScriptDrop Method
Drops an existing audit specification script.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)
Syntax
'Deklaracja
Protected Overrides Sub ScriptDrop ( _
query As StringCollection, _
so As ScriptingOptions _
)
protected override void ScriptDrop (
StringCollection query,
ScriptingOptions so
)
protected:
virtual void ScriptDrop (
StringCollection^ query,
ScriptingOptions^ so
) override
protected void ScriptDrop (
StringCollection query,
ScriptingOptions so
)
protected override function ScriptDrop (
query : StringCollection,
so : ScriptingOptions
)
Parameters
- query
A StringCollection object that specifies the query to be dropped.
- so
A ScriptingOptions object that specifies the scripting options associated with the script.
Thread Safety
Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
Development Platforms
For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.
Target Platforms
For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.