Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The QueryUrlCategory method queries the URL category database and the FPCUrlToCategoryMappings collection to determine the URL category of the specified URL.
Syntax
HRESULT QueryUrlCategory(
[in] BSTR bstrUrl,
[out] FpcUrlCategoryT* pCategoryID,
[out] FpcUrlCategorizationReason* pReason
);
Parameters
bstrUrl
Required. BSTR that specifies the URL.pCategoryID
Pointer to a variable of type FpcUrlCategoryT that is set on return to the identifier of the category.pReason
Pointer to a variable that is set on return points to a value from the FpcUrlCategorizationReason enumerated type that indicates the data used to categorize the URL or the reason why it could not be categorized.
Return Value
This method returns S_OK if the call is successful; otherwise, it returns an error code.
Remarks
This method is not supported for use in Microsoft Visual Basic Scripting Edition (VBScript).
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
Send comments about this topic to Microsoft
Build date: 6/30/2010