次の方法で共有


Remark

Provides a description of the Distributed File System resource. The following table summarizes the attributes of the Remark property.

Attribute Value
Data type Null-terminated Unicode string
Access Read/write
Status Optional
Structure CLUSPROP_SZ
Maximum None (but see Maximum Property Size.)
Default NULL

Remarks

The CLUSPROP_SZ_DECLARE macro creates a CLUSPROP_SZ structure with an array of the correct size.

Examples

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

WCHAR                szRemarkData[] = L"File Share Description";
CLUSPROP_SZ_DECLARE( RemarkValue, 
                     sizeof(szRemarkData) / sizeof(WCHAR) );

RemarkValue.Syntax.dw = CLUSPROP_SYNTAX_LIST_VALUE_SZ;
RemarkValue.cbLength  =  sizeof( szRemarkData );
StringCbCopy( RemarkValue.sz, RemarkValue.cbLength, szRemarkData );

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_SZ

CLUSPROP_SZ_DECLARE