HRESULT get_ContentTypeSetsUsed( IFPCRefs** ppRefs );
Address of an interface pointer that on return points to an IFPCRefs interface that represents the collection of references to the content type sets to which the rule applies.
This property method returns S_OK if the call is successful; otherwise, it returns an error code.
Property ContentTypeSetsUsed As FPCRefs
Reference to an FPCRefs collection that contains references to the content type sets to which the rule applies.
This property is read-only. It can be modified by calling the methods of the FPCRefs collection retrieved (the IFPCRefs interface retrieved in C++).
This property is applicable only if the AppliesToContentMethod property is set to fpcAppliesToSpecifiedContent. An access rule that applies only to specified content is applicable only to HTTP and tunneled FTP traffic of the content types specified and is not applicable to any other protocols (for example, HTTPS). As a result, if the rule applies to any protocols other than HTTP and FTP, the rule action (allow or deny) will not be applied to those protocols.
When a Web proxy client specifies the HTTP or FTP protocol in a URL request and an access rule allows access to the destination, the Forefront TMG Web proxy forwards the request to the Web server. When a response is provided by the Web server, the Web proxy re-examines the access rules to determine whether there is an access rule that references a content type set containing the MIME content type specified in a Content-Type header in the response or its file name extension. If such a rule is found, the Web proxy performs its action. For requests that specify the HTTP protocol, only the responses can contain Content-Type headers. Responses to requests that specify the FTP protocol do not contain Content-Type headers, but the MIME content type of a response containing a folder listing is defined as text/html. For both protocols, the file name extension is checked only for responses that do not have a defined MIME content type.
|Client||Requires Windows Vista or Windows XP.|
|Server||Requires Windows Server 2008.|
|Version||Requires Forefront Threat Management Gateway (TMG).|
Declared in Msfpccom.idl.
Build date: 11/30/2009
© 2008 Microsoft Corporation. All rights reserved.