Teilen über


CSCCache

[The CSCCache property is no longer available for use as of Windows Server 2012.]

This property is not supported.

**Windows Server 2003: **

Controls client-side caching on a file share. The following table summarizes the attributes of the CSCCache property.

Attribute Value
Data type BYTE
Access Read/write
Status Optional
Structure CLUSPROP_BINARY
Maximum None (but see Maximum Property Size.)
Default 0

The CSCCache property must be set to one of the following values. For more information see the SHARE_INFO_1005 structure.

Hex Enum Meaning
0x00 CSC_CACHE_MANUAL_REINT Automatic file-by-file reintegration is not allowed on the share.
0x10 CSC_CACHE_AUTO_REINT Automatic file-by-file reintegration is allowed on the share.
0x20 CSC_CACHE_VDO Autocaching for programs is enabled.
0x30 CSC_CACHE_NONE No client-side caching is allowed on the share.

Examples

The property value portion of a property list entry for CSCCache can be set with the following example code.

BYTE                     CSCData = 0x10; // CSC_CACHE_AUTO_REINT
CLUSPROP_BINARY_DECLARE( CSCValue, sizeof( CSCData ) );

CSCValue.Syntax.dw = CLUSPROP_SYNTAX_LIST_VALUE_BINARY;
CSCValue.cbLength  = sizeof( CSCData );
memcpy( CSCValue.rgb, CSCData, sizeof( CSCData ) );

Requirements

Minimum supported client
None supported
Minimum supported server
Windows Server 2003 Datacenter, Windows Server 2003 Enterprise
End of server support
Windows Server 2003 Datacenter, Windows Server 2003 Enterprise

See also

File Share Private Properties