次の方法で共有


HideSubDirShares

[The HideSubDirShares 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 displayed. The following table summarizes the attributes of the HideSubDirShares property.

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

Remarks

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

Value Description
TRUE Any subdirectories of the file share are hidden.
FALSE File share subdirectories are not hidden.

Examples

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

DWORD          HideSubDirSharesData = FALSE;
CLUSPROP_DWORD HideSubDirSharesValue;

HideSubDirSharesValue.Syntax.dw = CLUSPROP_SYNTAX_LIST_VALUE_DWORD;
HideSubDirSharesValue.cbLength  = sizeof(DWORD);
HideSubDirSharesValue.dw        = HideSubDirSharesData;

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