ServerGroup.Rename ServerGroup.Rename ServerGroup.Rename Method

Definition

Renames the ServerGroup object.

Overloads

Rename(SfcKey) Rename(SfcKey) Rename(SfcKey)

Renames the ServerGroup object by using the specified name.

Rename(String) Rename(String) Rename(String)

Renames the ServerGroup object by using the specified name.

Examples

Handling SMO Exceptions

Remarks

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.

Rename(SfcKey) Rename(SfcKey) Rename(SfcKey)

Renames the ServerGroup object by using the specified name.

public:
 virtual void Rename(Microsoft::SqlServer::Management::Sdk::Sfc::SfcKey ^ key);
public void Rename (Microsoft.SqlServer.Management.Sdk.Sfc.SfcKey key);
Public Sub Rename (key As SfcKey)
Parameters
key
SfcKey SfcKey SfcKey

A SfcKey object containing the new name.

Implements

Rename(String) Rename(String) Rename(String)

Renames the ServerGroup object by using the specified name.

public:
 virtual void Rename(System::String ^ name);
public void Rename (string name);
Public Sub Rename (name As String)
Parameters
name
String String String

A String that specifies the new name of the referenced object.

Examples

Handling SMO Exceptions

Remarks

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.

Applies to