ScriptAlter メソッド
SQL Server のインスタンスでオブジェクトのプロパティの変更を更新する Transact-SQL スクリプトを実行します。
名前空間: Microsoft.SqlServer.Management.Smo
アセンブリ: Microsoft.SqlServer.Smo (Microsoft.SqlServer.Smo.dll)
構文
'宣言
Protected Overrides Sub ScriptAlter ( _
alterQuery As StringCollection, _
so As ScriptingOptions _
)
'使用
Dim alterQuery As StringCollection
Dim so As ScriptingOptions
Me.ScriptAlter(alterQuery, so)
protected override void ScriptAlter(
StringCollection alterQuery,
ScriptingOptions so
)
protected:
virtual void ScriptAlter(
StringCollection^ alterQuery,
ScriptingOptions^ so
) override
abstract ScriptAlter :
alterQuery:StringCollection *
so:ScriptingOptions -> unit
override ScriptAlter :
alterQuery:StringCollection *
so:ScriptingOptions -> unit
protected override function ScriptAlter(
alterQuery : StringCollection,
so : ScriptingOptions
)
パラメーター
- alterQuery
型: System.Collections.Specialized. . :: . .StringCollection
更新スクリプトを含む StringCollection オブジェクトです。
- so
型: Microsoft.SqlServer.Management.Smo. . :: . .ScriptingOptions
スクリプトに関連付けられているスクリプト作成オプションを示す ScriptingOptions オブジェクトです。