DatabaseFile.ScriptAlter Method
Alters the script that is used to create the file in the database.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
Protected Overrides Sub ScriptAlter ( _
alterQuery As StringCollection, _
so As ScriptingOptions _
)
'Usage
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
)
Parameters
- alterQuery
Type: System.Collections.Specialized.StringCollection
A StringCollection.
- so
Type: Microsoft.SqlServer.Management.Smo.ScriptingOptions
ScriptingOptions object
See Also