ScriptDrop méthode
Drops an existing audit specification script.
Espace de noms : Microsoft.SqlServer.Management.Smo
Assembly : Microsoft.SqlServer.Smo (dans Microsoft.SqlServer.Smo.dll)
Syntaxe
'Déclaration
Protected Overrides Sub ScriptDrop ( _
query As StringCollection, _
so As ScriptingOptions _
)
'Utilisation
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
)
Paramètres
- 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.