Compartilhar via


ShareFlags

Stores the share flags of a Distributed File System resource. The following table summarizes the attributes of the ShareFlags property.

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

Remarks

See the definition of the SHI1005_VALID_FLAGS_SET value defined in LMShare.h and the descriptions of the values allowed for the shi1005_flags member of the SHARE_INFO_1005 structure for more information on the meaning of the individual flags.

Examples

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

DWORD          ShareFlagsData = TRUE;
CLUSPROP_DWORD ShareFlagsValue;

ShareFlagsValue.Syntax.dw = CLUSPROP_SYNTAX_LIST_VALUE_DWORD;
ShareFlagsValue.cbLength  = sizeof(DWORD);
ShareFlagsValue.dw        = ShareFlagsData;

Requirements

Minimum supported client
None supported
Minimum supported server
Windows Server 2008 Datacenter, Windows Server 2008 Enterprise

See also

Distributed File System Private Properties

CLUSPROP_DWORD