IRenamable.Rename Method
Renames the referenced object.
Namespace: Microsoft.SqlServer.Management.Common
Assembly: Microsoft.SqlServer.ConnectionInfo (in Microsoft.SqlServer.ConnectionInfo.dll)
Syntax
'Declaration
Sub Rename ( _
newname As String _
)
'Usage
Dim instance As IRenamable
Dim newname As String
instance.Rename(newname)
void Rename(
string newname
)
void Rename(
String^ newname
)
abstract Rename :
newname:string -> unit
function Rename(
newname : String
)
Parameters
- newname
Type: System.String
A String value that specifies the new name of the object.