다음을 통해 공유


RemoveServerRole 메서드

Removes a Microsoft SQL Server server role from the referenced proxy account.

네임스페이스:  Microsoft.SqlServer.Management.Smo.Agent
어셈블리:  Microsoft.SqlServer.Smo(Microsoft.SqlServer.Smo.dll)

구문

‘선언
Public Sub RemoveServerRole ( _
    serverRoleName As String _
)
‘사용 방법
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
)

매개 변수