ScriptDrop 方法
Drops an existing audit specification script.
命名空間: Microsoft.SqlServer.Management.Smo
組件: Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)
語法
'宣告
Protected Overrides Sub ScriptDrop ( _
query As StringCollection, _
so As ScriptingOptions _
)
'用途
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
)
參數
- query
型別:System.Collections.Specialized. . :: . .StringCollection
A StringCollection object that specifies the query to be dropped.
- so
型別:Microsoft.SqlServer.Management.Smo. . :: . .ScriptingOptions
A ScriptingOptions object that specifies the scripting options associated with the script.