IFPCAccessProperties2::CustomMessageText property

Applies to: desktop apps only

The CustomMessageText property gets or sets the text to be displayed in the access denied error page if displaying custom text is enabled.

This property is read/write.

Syntax

HRESULT put_CustomMessageText(
  BSTR bstrCustomMessageText
);

HRESULT get_CustomMessageText(
  BSTR *pbstrCustomMessageText
);
' Data type: String

Property CustomMessageText( _
  ByVal bstrCustomMessageText As BSTR, _
  ByVal pbstrCustomMessageText As BSTR _
) As String

Property value

String that specifies the text to be displayed in the access denied error page if displaying custom text is enabled.

Error codes

These property methods return S_OK if the call is successful; otherwise, they return an error code.

Remarks

This property is read/write. The 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

FPCAccessProperties

 

 

Build date: 7/12/2010