AddPrincipal-Methode (String, Boolean)
Namespace: Microsoft.SqlServer.Management.Smo.Mail
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
Public Sub AddPrincipal ( _
principalName As String, _
isDefaultProfile As Boolean _
)
'Usage
Dim instance As MailProfile
Dim principalName As String
Dim isDefaultProfile As Boolean
instance.AddPrincipal(principalName, _
isDefaultProfile)
public void AddPrincipal(
string principalName,
bool isDefaultProfile
)
public:
void AddPrincipal(
String^ principalName,
bool isDefaultProfile
)
member AddPrincipal :
principalName:string *
isDefaultProfile:bool -> unit
public function AddPrincipal(
principalName : String,
isDefaultProfile : boolean
)