MailProfile.AddPrincipal Method (String)
Namespace: Microsoft.SqlServer.Management.Smo.Mail
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
Public Sub AddPrincipal ( _
principalName As String _
)
'Usage
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
)
Parameters
- principalName
Type: System.String