다음을 통해 공유


RemovePrincipal 메서드

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

네임스페이스:  Microsoft.SqlServer.Management.Smo.Mail
어셈블리:  Microsoft.SqlServer.Smo(Microsoft.SqlServer.Smo.dll)

구문

‘선언
Public Sub RemovePrincipal ( _
    principalName As String _
)
‘사용 방법
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
)

매개 변수