Share via


UrlCategory Property of the IFPCUrlToCategoryMapping Interface

The UrlCategory property gets an FPCRef object that references the FPCUrlCategory object representing the overriding URL category in the mapping.

C++

HRESULT get_UrlCategory(
    IFPCRef** ppUrlCategory
);

Parameters

  • ppUrlCategory
    Address of an interface pointer that on return points to an IFPCRef interface that references the IFPCUrlCategory interface representing the overriding URL category in the mapping.

Return Value

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

Visual Basic

Property UrlCategory As FPCRef

Property Value

Reference to an FPCRef object that references the FPCUrlCategory object representing the overriding URL category in the mapping.

Remarks

This property is read-only. The overriding URL category referenced in the mapping is initially set when the mapping is created by the Add method of the FPCUrlToCategoryMappings collection (IFPCUrlToCategoryMappings interface in C++), and it can be changed by calling the SetUrlCategory method.

Requirements

Client Requires Windows 7 or Windows Vista.
Server Requires Windows Server 2008 R2 or Windows Server 2008 x64 Edition with SP2.
Version Requires Forefront Threat Management Gateway (TMG) 2010.
IDL

Declared in Msfpccom.idl.

DLL

Requires Msfpccom.dll.

See Also

FPCUrlToCategoryMapping

Send comments about this topic to Microsoft

Build date: 6/30/2010