Метод 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.