Метод RemoveMemberServer
Withdraws membership of the referenced target server group from the specified target server.
Пространство имен: Microsoft.SqlServer.Management.Smo.Agent
Сборка: Microsoft.SqlServer.Smo (в Microsoft.SqlServer.Smo.dll)
Синтаксис
'Декларация
Public Sub RemoveMemberServer ( _
srvname As String _
)
'Применение
Dim instance As TargetServerGroup
Dim srvname As String
instance.RemoveMemberServer(srvname)
public void RemoveMemberServer(
string srvname
)
public:
void RemoveMemberServer(
String^ srvname
)
member RemoveMemberServer :
srvname:string -> unit
public function RemoveMemberServer(
srvname : String
)
Параметры
- srvname
Тип System. . :: . .String
A String value that specifies the target server to be removed from the target server group.