Dela via


UserDefinedDataType.Rename Method

Renames the user defined data type.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
Public Sub Rename ( _
    newname As String _
)
'Usage
Dim instance As UserDefinedDataType
Dim newname As String

instance.Rename(newname)
public void Rename(
    string newname
)
public:
virtual void Rename(
    String^ newname
) sealed
abstract Rename : 
        newname:string -> unit 
override Rename : 
        newname:string -> unit 
public final function Rename(
    newname : String
)

Parameters

  • newname
    Type: System.String
    A String value that specifies a new name of the user-defined data type.

Implements

IRenamable.Rename(String)