次の方法で共有


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.

Attribute Value
Data type DWORD
Access Read/write
Status Optional
Structure CLUSPROP_DWORD
Minimum FALSE
Maximum TRUE
Default FALSE

Remarks

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

Value Description
TRUE Any subdirectories of the file share are included in the share.
FALSE No 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