IFPCReportJob::SmtpServer property

Applies to: desktop apps only

The SmtpServer property gets the name of the SMTP server that will be used to send an email message when the report job is completed.

This property is read-only.

Syntax

HRESULT get_SmtpServer(
  BSTR *pbstrSmtpServer
);
' Data type: String

Property SmtpServer( _
  ByVal pbstrSmtpServer As BSTR _
) As String

Property value

String that specifies the name of the SMTP server that will be used to send an email message when the report job is completed.

Error codes

This property method returns S_OK if the call is successful; otherwise, it returns an error code.

Remarks

This property is read-only. It can be set using the SetEmailing method. Its default value is an empty string.

Requirements

Minimum supported client

Windows Vista

Minimum supported server

Windows Server 2008 R2, Windows Server 2008 with SP2 (64-bit only)

Version

Forefront Threat Management Gateway (TMG) 2010

IDL

Msfpccom.idl

DLL

Msfpccom.dll

See also

FPCReportJob

 

 

Build date: 7/12/2010