This topic has not yet been rated - Rate this topic

JobServer.TestMailProfile Method

Tests the validity of an e-mail profile.

Namespace:  Microsoft.SqlServer.Management.Smo.Agent
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
public void TestMailProfile(
	string profileName
)

Parameters

profileName
Type: 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.

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.