Microsoft Internet Security and Acceleration Server 2004 SDK

AppliesToContentMethod Property of IFPCAccessProperties[C++]

FPCAccessProperties.AppliesToContentMethod [Visual Basic]

[C++]

The AppliesToContentMethod property gets or sets a value from the FpcAppliesToContentMethodType enumerated type that indicates whether the rule applies to all types of content or only to specified types of content.

HRESULT get_AppliesToContentMethod(
  FpcAppliesToContentMethodType* pAppliesToContentMethodType
);

HRESULT put_AppliesToContentMethod(
  FpcAppliesToContentMethodType AppliesToContentMethodType
);

Parameters

pAppliesToContentMethodType
Pointer to a variable that on return receives a value from the FpcAppliesToContentMethodType enumerated type indicating whether the rule applies to all types of content or only to the file types and MIME types specified in the ContentTypeSetsUsed property.
AppliesToContentMethodType
Value from the FpcAppliesToContentMethodType enumerated type that indicates whether the rule applies to all types of content or only to the file types and MIME types specified in the ContentTypeSetsUsed property.

Return Values

These property methods return S_OK if the call is successful; otherwise, they return an error code.

Remarks

This property is read/write. Its default value is fpcAppliesToAllContent, which indicates that the rule applies to all file types and MIME types.

[Visual Basic]

The AppliesToContentMethod property gets or sets a value from the FpcAppliesToContentMethodType enumerated type that indicates whether the rule applies to all types of content or only to specified types of content.

Property AppliesToContentMethod As FpcAppliesToContentMethodType

Property Value

Value from the FpcAppliesToContentMethodType enumerated type that indicates whether the rule applies to all types of content or only to the file types and MIME types specified in the ContentTypeSetsUsed property.

Remarks

This property is read/write. Its default value is fpcAppliesToAllContent, which indicates that the rule applies to all file types and MIME types.

Requirements

Server: Requires Windows Server 2003 or Windows 2000.
Version: Requires Internet Security and Acceleration Server 2004.
Header: Declared in Msfpccom.idl.
Library: Use Microsoft Internet Security and Acceleration Server 2004 Administration Library.

See Also

FPCAccessProperties