TestMailProfile Method

JobServer.TestMailProfile Method (String)

 

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.

Return to top
Show:
© 2016 Microsoft