Метод MailProfile.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
)
Параметры
- principalName
Тип: System.String
A String value that specifies the name of the principal.