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
- name
Type: System.String
A String value that specifies the new name of the condition.
Implements
Examples
C#
c.Rename("NewCondition");
VB
c.Rename("NewCondition")