共用方式為


AdminExtensions

[This property is available for use only in Windows Server 2003.]

This property is not supported.

**Windows Server 2003: **

The AdminExtensions property provides the class identifiers (CLSIDs) for the Cluster Administrator extensions that are associated with the cluster. The following table summarizes the attributes of the AdminExtensions property.

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 2003 Enterprise, Windows Server 2003 Datacenter
End of server support
Windows Server 2003 Datacenter, Windows Server 2003 Enterprise

See also

CLUSPROP_MULTI_SZ