Metodo MailProfile.RemovePrincipal
Removes the association between a principal and the referenced mail profile.
Spazio dei nomi Microsoft.SqlServer.Management.Smo.Mail
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Sintassi
'Dichiarazione
Public Sub RemovePrincipal ( _
principalName As String _
)
'Utilizzo
Dim instance As MailProfile
Dim principalName As String
instance.RemovePrincipal(principalName)
public void RemovePrincipal(
string principalName
)
public:
void RemovePrincipal(
String^ principalName
)
member RemovePrincipal :
principalName:string -> unit
public function RemovePrincipal(
principalName : String
)
Parametri
- principalName
Tipo: System.String
A String value that specifies the name of the principal.