Alias Property for IIS Virtual Roots

The Alias property describes the subdirectory name that clients use to access the IIS Virtual Root.

Quick Info

Type: Null-terminated Unicode string
Access: Read/write
Status: Required
Function: ClusterResourceControl
Structure: CLUSPROP_SZ
Control Code: CLUSCTL_RESOURCE_GET_PRIVATE_PROPERTIES

Remarks

The data for the Alias property is a string that is preceded by a forward slash. When ClusterResourceControl processes the CLUSCTL_RESOURCE_GET_PRIVATE_PROPERTIES control code, it returns a property list that includes the Alias property as one of the entries. The property value portion of the entry contains a CLUSPROP_SZ structure that is set as follows:

CLUSPROP_SZ AliasValue;
LPCWSTR AliasData = L "/alias";
AliasValue.Syntax = CLUSPROP_SYNTAX_LIST_VALUE_SZ;
AliasValue.cbLength = sizeof(AliasData);
lstrcpyW(AliasValue.sz, AliasData);

QuickInfo

  Version: Use Windows NT Server Enterprise Edition 4.0.
  Windows CE: Unsupported.
  Header: Declared in clusapi.h.