IFPCAlert::ServerName property

Applies to: desktop apps only

The ServerName property gets the name of the server that is allowed to issue the alert.

This property is read-only.

Syntax

HRESULT get_ServerName(
  BSTR *pbstrServerName
);
' Data type: String

Property ServerName( _
  ByVal pbstrServerName As BSTR _
) As String

Property value

String that specifies the name of the server that is allowed to issue the alert.

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. Its value can be modified, along with the values of the AdditionalKey and EventGUID properties, by calling the SetDefinitions method.

The default value of this property is an empty string, or (""), which means that all servers are allowed to issue the alert.

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

FPCAlert

 

 

Build date: 7/12/2010