SqlSmoObject.ScriptAlter Method

Alters the SqlSmoObject according to the parameters.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
Protected Overridable Sub ScriptAlter ( _
    alterQuery As StringCollection, _
    so As ScriptingOptions _
)
'Usage
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
)