다음을 통해 공유


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.