Compartir a través de


Name

Specifies the display name of the resource type. The display name is the name that appears to administrators in the Cluster Administrator user interface. The following table summarizes the attributes of the Name property.

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

Remarks

It is important to distinguish between the display name of the resource type and the registered name of the resource type. For more information, see Display Names.

The Type property for resources also specifies a resource type display name.

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 Name can be set with the following example code:

WCHAR szNameData[] = L"Spreadsheet App";
CLUSPROP_SZ_DECLARE( NameValue, sizeof( szNameData ) / sizeof( WCHAR ) );
NameValue.Syntax.dw = CLUSPROP_SYNTAX_LIST_VALUE_SZ;
NameValue.cbLength = sizeof( szNameData );
StringCbCopy( NameValue.sz, NameValue.cbLength, szNameData );

Requirements

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

See also

CLUSPROP_SZ

CLUSPROP_SZ_DECLARE

Type