FtpCachePolicyElement.PolicyLevel Property

Definition

Gets or sets FTP caching behavior for the local machine.

public:
 property System::Net::Cache::RequestCacheLevel PolicyLevel { System::Net::Cache::RequestCacheLevel get(); void set(System::Net::Cache::RequestCacheLevel value); };
[System.Configuration.ConfigurationProperty("policyLevel", DefaultValue=System.Net.Cache.RequestCacheLevel.Default)]
public System.Net.Cache.RequestCacheLevel PolicyLevel { get; set; }
[<System.Configuration.ConfigurationProperty("policyLevel", DefaultValue=System.Net.Cache.RequestCacheLevel.Default)>]
member this.PolicyLevel : System.Net.Cache.RequestCacheLevel with get, set
Public Property PolicyLevel As RequestCacheLevel

Property Value

A RequestCacheLevel value that specifies the cache behavior.

Attributes

Remarks

Applications typically use Default as their cache policy level. The CachePolicy property, if not null, determines the cache policy in effect for a request.

Applies to