다음을 통해 공유


AdminExtensions

The AdminExtensions property provides the class identifiers (CLSIDs) for the Cluster Administrator extension DLLs that are associated with the resource type. The following table summarizes the attributes of the AdminExtensions property.

**Windows Server 2008 R2 and Windows Server 2008: **

This property is not supported.

Attribute Value
Data type LPCWSTR pointer or a WCHAR array
Access Read/write
Structure CLUSPROP_MULTI_SZ
Maximum None (but see Maximum Property Size.)
Default NULL

The data value for the AdminExtensions property should be set to one or more class identifiers, formatted as a sequence of null-terminated Unicode strings with the entire sequence terminated by an additional NULL.

Examples

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

WCHAR szAdmExData[] = L"{4EC90FB0-D0BB-11CF-B5EF-00A0C90AB505}\0"
                      L"{806EA659-39DC-4BC9-B9DE-B44B671F0236}\0"
                      L"{7904197E-F39E-4458-8848-A56CA675EE4D}\0";

CLUSPROP_SZ_DECLARE( AdmExValue, 
                     sizeof( szAdmExData ) / sizeof( WCHAR ) );

AdmExValue.Syntax.dw = CLUSPROP_SYNTAX_LIST_VALUE_MULTI_SZ;

AdmExValue.cbLength  = sizeof( szAdmExData );

CopyMemory( (PVOID) AdmExValue.sz, 
            (PVOID) szAdmExData, 
            sizeof( szAdmExData ) );

Requirements

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

See also

CLUSPROP_MULTI_SZ