AddMsdbRole 메서드
Adds a Microsoft SQL Server database role to the proxy account.
네임스페이스: Microsoft.SqlServer.Management.Smo.Agent
어셈블리: Microsoft.SqlServer.Smo(Microsoft.SqlServer.Smo.dll)
구문
‘선언
Public Sub AddMsdbRole ( _
msdbRoleName As String _
)
‘사용 방법
Dim instance As ProxyAccount
Dim msdbRoleName As String
instance.AddMsdbRole(msdbRoleName)
public void AddMsdbRole(
string msdbRoleName
)
public:
void AddMsdbRole(
String^ msdbRoleName
)
member AddMsdbRole :
msdbRoleName:string -> unit
public function AddMsdbRole(
msdbRoleName : String
)
매개 변수
- msdbRoleName
유형: System. . :: . .String
A String value that specifies the SQL Server database role that is associated with the proxy account.