Export (0) Print
Expand All

ShareSubDirs

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

This property is not supported.

Windows Server 2003:  

Determines whether the subdirectories of a file share are included in the share. The following table summarizes the attributes of the ShareSubDirs property.

AttributeValue
Data typeDWORD
Access Read/write
StatusOptional
Structure CLUSPROP_DWORD
MinimumFALSE
MaximumTRUE
DefaultFALSE

 

Remarks

The ShareSubDirs property can be set to one of the following values.

ValueDescription
TRUEAny subdirectories of the file share are included in the share.
FALSENo subdirectories are included in the share.

 

Examples

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


DWORD          ShareSubDirsData  = TRUE;
CLUSPROP_DWORD ShareSubDirsValue;

ShareSubDirsValue.Syntax.dw      = CLUSPROP_SYNTAX_LIST_VALUE_DWORD;
ShareSubDirsValue.cbLength       = sizeof(DWORD);
ShareSubDirsValue.dw             = ShareSubDirsData;


Requirements

Minimum supported client

None supported

Minimum supported server

Windows Server 2003 Enterprise, Windows Server 2003 Datacenter

End of server support

Windows Server 2003 Datacenter, Windows Server 2003 Enterprise

See also

File Share Private Properties
CLUSPROP_DWORD

 

 

Show:
© 2014 Microsoft