Метод Rename
Renames the referenced target server group.
Пространство имен: Microsoft.SqlServer.Management.Smo.Agent
Сборка: Microsoft.SqlServer.Smo (в Microsoft.SqlServer.Smo.dll)
Синтаксис
'Декларация
Public Sub Rename ( _
newName As String _
)
'Применение
Dim instance As TargetServerGroup
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
)
Параметры
- newName
Тип: System. . :: . .String
A String value that specifies the new name of the target server group.