Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Removes a Microsoft SQL Server server role from the referenced proxy account.
Namespace: Microsoft.SqlServer.Management.Smo.Agent
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
Public Sub RemoveServerRole ( _
serverRoleName As String _
)
'Usage
Dim instance As ProxyAccount
Dim serverRoleName As String
instance.RemoveServerRole(serverRoleName)
public void RemoveServerRole(
string serverRoleName
)
public:
void RemoveServerRole(
String^ serverRoleName
)
member RemoveServerRole :
serverRoleName:string -> unit
public function RemoveServerRole(
serverRoleName : String
)
Parameters
- serverRoleName
Type: System.String
A String value that specifies the SQL Server server role to be removed.
Examples
Scheduling Automatic Administrative Tasks in SQL Server Agent
See Also
Reference
Microsoft.SqlServer.Management.Smo.Agent Namespace