DatabasesOperationsExtensions.Rename Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
Rename(IDatabasesOperations, String, String, String, ResourceMoveDefinition) |
Renames a database. |
Rename(IDatabasesOperations, String, String, String, String) |
Renames a database. |
Rename(IDatabasesOperations, String, String, String, ResourceMoveDefinition)
Renames a database.
public static void Rename (this Microsoft.Azure.Management.Sql.IDatabasesOperations operations, string resourceGroupName, string serverName, string databaseName, Microsoft.Azure.Management.Sql.Models.ResourceMoveDefinition parameters);
static member Rename : Microsoft.Azure.Management.Sql.IDatabasesOperations * string * string * string * Microsoft.Azure.Management.Sql.Models.ResourceMoveDefinition -> unit
<Extension()>
Public Sub Rename (operations As IDatabasesOperations, resourceGroupName As String, serverName As String, databaseName As String, parameters As ResourceMoveDefinition)
Parameters
- operations
- IDatabasesOperations
The operations group for this extension method.
- resourceGroupName
- String
The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
- serverName
- String
The name of the server.
- databaseName
- String
The name of the database to rename.
- parameters
- ResourceMoveDefinition
The resource move definition for renaming this database.
Applies to
Rename(IDatabasesOperations, String, String, String, String)
Renames a database.
public static void Rename (this Microsoft.Azure.Management.Sql.IDatabasesOperations operations, string resourceGroupName, string serverName, string databaseName, string newName);
static member Rename : Microsoft.Azure.Management.Sql.IDatabasesOperations * string * string * string * string -> unit
<Extension()>
Public Sub Rename (operations As IDatabasesOperations, resourceGroupName As String, serverName As String, databaseName As String, newName As String)
Parameters
- operations
- IDatabasesOperations
The operations group for this extension method.
- resourceGroupName
- String
The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
- serverName
- String
The name of the server.
- databaseName
- String
The name of the database to rename.
- newName
- String
The new name that the database should be renamed to.
Applies to
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應