The METADATA_GETALL_RECORD structure is analogous to the METADATA_RECORD structure, but is used only to return data from a call to the GetAllData method. Data retrieval specifications are provided in GetAllData method parameters, not in this structure (as is the case with METADATA_RECORD). The GetAllData method returns the data from multiple entries as an array of METADATA_GETALL_RECORD structures.
A DWORD that identifies the metabase entry, for example, MD_SERVER_STATE.
A set of flags that receives the attributes of the data entry. This member can receive one or more of the following values:
Return inherited data.
Indicates the string contains MD_INSERT_PATH_STRINGW.
Returned data is inherited.
No attributes set.
Inherited data returned even if the entire path is not present. This flag is valid only if METADATA_INHERIT is also set.
The data was retrieved by reference.
A DWORD that specifies the type of user of the data. IIS currently defines the following four user types:
The entry contains information specific to ASP application configuration.
The entry contains information about a file, such as access permissions or logon methods.
The entry contains information specific to the server, such as ports in use and IP addresses.
The entry contains information specific to Web application management.
Specifies the type of data in the metabase entry. This member can be one of the following values:
All data returns, regardless of type. Not valid when setting values.
Binary data in any form.
An unsigned 32-bit number.
A null-terminated Unicode string that contains unexpanded environment variables, such as %PATH%.
An array of null-terminated strings, terminated by two null characters.
A null-terminated Unicode string.
A DWORD that receives the length of the data in bytes. If the data is a string, this value includes the ending null character. For multisz data, this includes an additional null character after the final string. For example, the length of a multisz string containing two strings would be:
If the data was returned by value, contains the byte offset of the data in the buffer specified by the parameter pbMDBuffer of the IMSAdminBase::GetAllData method. All out-of-process executions will return data by value. The array of records, excluding the data, is returned in the first part of the buffer. The data associated with the records is returned in the buffer after the array of records, and dwMDDataOffset is the offset to the beginning of the data associated with each record in the array.