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.