DatabaseRole.Rename Method
SQL Server 2012
Renames the database role.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Parameters
- newname
- Type: System.String
A String value that specifies the new name of the database role.
