MailProfile.AddPrincipal 메서드 (String)
Associates a security principal with the referenced mail profile.
네임스페이스: Microsoft.SqlServer.Management.Smo.Mail
어셈블리: Microsoft.SqlServer.Smo(Microsoft.SqlServer.Smo.dll)
구문
‘선언
Public Sub AddPrincipal ( _
principalName As String _
)
‘사용 방법
Dim instance As MailProfile
Dim principalName As String
instance.AddPrincipal(principalName)
public void AddPrincipal(
string principalName
)
public:
void AddPrincipal(
String^ principalName
)
member AddPrincipal :
principalName:string -> unit
public function AddPrincipal(
principalName : String
)
매개 변수
- principalName
유형: System.String
A String value that specifies the name of the security principal.
주의
A principal refers to a database user, a database role or server role, an application role, or a SQL Server login. You can add these types of users to the mail profile.
예
참고 항목
참조
Microsoft.SqlServer.Management.Smo.Mail 네임스페이스