Compartilhar via


Método RemovePrincipal

Removes the association between a principal and the referenced mail profile.

Namespace:  Microsoft.SqlServer.Management.Smo.Mail
Assembly:  Microsoft.SqlServer.Smo (em Microsoft.SqlServer.Smo.dll)

Sintaxe

'Declaração
Public Sub RemovePrincipal ( _
    principalName As String _
)
'Uso
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
)

Parâmetros