Share via


Condition.Rename Method

Renames the condition to the specified name.

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

Syntax

'Declaration
Public Sub Rename ( _
    name As String _
)
'Usage
Dim instance As Condition 
Dim name As String

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

Parameters

Implements

IRenamable.Rename(String)

Examples

C#

c.Rename("NewCondition");

VB

c.Rename("NewCondition")

See Also

Reference

Condition Class

Microsoft.SqlServer.Management.Dmf Namespace