Поделиться через


Метод TestMailProfile

Tests the validity of an e-mail profile.

Пространство имен:  Microsoft.SqlServer.Management.Smo.Agent
Сборка:  Microsoft.SqlServer.Smo (в Microsoft.SqlServer.Smo.dll)

Синтаксис

'Декларация
Public Sub TestMailProfile ( _
    profileName As String _
)
'Применение
Dim instance As JobServer
Dim profileName As String

instance.TestMailProfile(profileName)
public void TestMailProfile(
    string profileName
)
public:
void TestMailProfile(
    String^ profileName
)
member TestMailProfile : 
        profileName:string -> unit 
public function TestMailProfile(
    profileName : String
)

Параметры

Замечания

If the e-mail profile is not valid and the test fails, a FailedOperationException exception is thrown.