ProxyAccount.AddServerRole Method (String)

 

Adds a Microsoft SQL Server server role to the proxy account.

Namespace:   Microsoft.SqlServer.Management.Smo.Agent
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

public void AddServerRole(
	string serverRoleName
)

Parameters

serverRoleName
Type: System.String

A String value that specifies the SQL Server server role that is associated with the proxy account.

Return to top
Show: