Метод RemoveMsdbRole
Removes a Microsoft SQL Server database role from the referenced proxy account.
Пространство имен: Microsoft.SqlServer.Management.Smo.Agent
Сборка: Microsoft.SqlServer.Smo (в Microsoft.SqlServer.Smo.dll)
Синтаксис
'Декларация
Public Sub RemoveMsdbRole ( _
msdbRoleName As String _
)
'Применение
Dim instance As ProxyAccount
Dim msdbRoleName As String
instance.RemoveMsdbRole(msdbRoleName)
public void RemoveMsdbRole(
string msdbRoleName
)
public:
void RemoveMsdbRole(
String^ msdbRoleName
)
member RemoveMsdbRole :
msdbRoleName:string -> unit
public function RemoveMsdbRole(
msdbRoleName : String
)
Параметры
- msdbRoleName
Тип System. . :: . .String
A String value that specifies the SQL Server database role to be removed.