ProxyAccount.AddMsdbRole Method (String)

 

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

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

public void AddMsdbRole(
	string msdbRoleName
)

Parameters

msdbRoleName
Type: System.String

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

Return to top
Show: