Méthode ScriptRename
Renames the script in the database file.
Espace de noms : Microsoft.SqlServer.Management.Smo
Assembly : Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)
Syntaxe
'Déclaration
Protected Overrides Sub ScriptRename ( _
renameQuery As StringCollection, _
so As ScriptingOptions, _
newName As String _
)
'Utilisation
Dim renameQuery As StringCollection
Dim so As ScriptingOptions
Dim newName As String
Me.ScriptRename(renameQuery, so, newName)
protected override void ScriptRename(
StringCollection renameQuery,
ScriptingOptions so,
string newName
)
protected:
virtual void ScriptRename(
StringCollection^ renameQuery,
ScriptingOptions^ so,
String^ newName
) override
abstract ScriptRename :
renameQuery:StringCollection *
so:ScriptingOptions *
newName:string -> unit
override ScriptRename :
renameQuery:StringCollection *
so:ScriptingOptions *
newName:string -> unit
protected override function ScriptRename(
renameQuery : StringCollection,
so : ScriptingOptions,
newName : String
)
Paramètres
- renameQuery
Type : System.Collections.Specialized. . :: . .StringCollection
A StringCollection.
- so
Type : Microsoft.SqlServer.Management.Smo. . :: . .ScriptingOptions
A ScriptingOptions object.
- newName
Type : System. . :: . .String
A String value that specifies the new name for the file.
Voir aussi