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
)
매개 변수
- profileName
유형: System. . :: . .String
A String value that specifies the name of the e-mail profile.
주의
If the e-mail profile is not valid and the test fails, a FailedOperationException exception is thrown.