ScriptAlter 方法
Alters an existing audit specification script.
命名空间: Microsoft.SqlServer.Management.Smo
程序集: Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)
语法
声明
Protected Overrides Sub ScriptAlter ( _
query As StringCollection, _
so As ScriptingOptions _
)
用法
Dim query As StringCollection
Dim so As ScriptingOptions
Me.ScriptAlter(query, so)
protected override void ScriptAlter(
StringCollection query,
ScriptingOptions so
)
protected:
virtual void ScriptAlter(
StringCollection^ query,
ScriptingOptions^ so
) override
abstract ScriptAlter :
query:StringCollection *
so:ScriptingOptions -> unit
override ScriptAlter :
query:StringCollection *
so:ScriptingOptions -> unit
protected override function ScriptAlter(
query : StringCollection,
so : ScriptingOptions
)
参数
- query
类型:System.Collections.Specialized. . :: . .StringCollection
A StringCollection object that contains the revised query.
- so
类型:Microsoft.SqlServer.Management.Smo. . :: . .ScriptingOptions
A ScriptingOptions object that contains the scripting options for the revised script.