Guid Property of the IFPCProtocolDefinition Interface

The Guid property gets the string-formatted globally unique identifier (GUID) of the protocol.

[C++]
HRESULT get_Guid(
	BSTR* pbstrGuid
);

Parameters

pbstrGuid

Pointer to a BSTR that is set on return to a string value specifying the string-formatted GUID of the protocol.

Return Value

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

[Visual Basic]
Property Guid As String

Property Value

String that specifies the string-formatted GUID of the protocol.

Remarks

This property is read-only.

The GUID retrieved is formatted as a string in the form {12345678-1234-1234-1234-123456789ABC}. Note the presence of the braces normally used with GUIDs.

Constants for the protocol GUIDs used in Forefront TMG are defined in the Protocol_guids.h file located in the Inc folder of the SDK.

Requirements

Client Requires Windows Vista or Windows XP.
Server Requires Windows Server 2008.
Version Requires Forefront Threat Management Gateway (TMG).
IDL

Declared in Msfpccom.idl.

DLL

Requires Msfpccom.dll.

See Also

FPCProtocolDefinition


Send comments about this topic to Microsoft

Build date: 11/30/2009

© 2008 Microsoft Corporation. All rights reserved.