共用方式為


ScriptAlter 方法

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
Protected Overridable Sub ScriptAlter ( _
    alterQuery As StringCollection, _
    so As ScriptingOptions _
)
'用途
Dim alterQuery As StringCollection
Dim so As ScriptingOptions

Me.ScriptAlter(alterQuery, so)
protected virtual void ScriptAlter(
    StringCollection alterQuery,
    ScriptingOptions so
)
protected:
virtual void ScriptAlter(
    StringCollection^ alterQuery, 
    ScriptingOptions^ so
)
abstract ScriptAlter : 
        alterQuery:StringCollection * 
        so:ScriptingOptions -> unit 
override ScriptAlter : 
        alterQuery:StringCollection * 
        so:ScriptingOptions -> unit 
protected function ScriptAlter(
    alterQuery : StringCollection, 
    so : ScriptingOptions
)