次の方法で共有


IFPCRuleElements::ContentTypeSets property

Applies to: desktop apps only

The ContentTypeSets property gets an FPCContentTypeSets collection that contains the content type sets defined in the array or the enterprise.

Each content type set in the FPCContentTypeSets collection is represented by an FPCContentTypeSet collection. The default content type sets include Audio, Executable, Images, Text, and Video. Each content type set includes file types. For example, the Audio content type set could include the file types .aif, .aifc, .au, .m3u, .mid, and others.

This property is read-only.

Syntax

HRESULT get_ContentTypeSets(
  IFPCContentTypeSets **ppContentTypeSets
);
' Data type: FPCContentTypeSets

Property ContentTypeSets( _
  ByVal ppContentTypeSets As IFPCContentTypeSets _
) As FPCContentTypeSets

Property value

Reference to an FPCContentTypeSets collection that contains the content type sets defined in the array or the enterprise.

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. Content type sets can be added or removed by calling the Add and Remove methods of the FPCContentTypeSets collection retrieved (the IFPCContentTypeSets interface retrieved in C++).

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

FPCRuleElements

 

 

Build date: 7/12/2010