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.

AttributeValue
Data typeBYTE
AccessRead/write
StatusOptional
Structure CLUSPROP_BINARY
MaximumNone (but see Maximum Property Size.)
Default0

 

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

HexEnumMeaning
0x00CSC_CACHE_MANUAL_REINTAutomatic file-by-file reintegration is not allowed on the share.
0x10CSC_CACHE_AUTO_REINTAutomatic file-by-file reintegration is allowed on the share.
0x20CSC_CACHE_VDOAutocaching for programs is enabled.
0x30CSC_CACHE_NONENo 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

 

 

Show: