_SiteConfig::get_Fields
The Fields property is a read/write Fields object. The Fields object contents include recordsets that hold the configuration settings of resources. A Fields object is an ADO disconnected recordset.
Definition
HRESULT _SiteConfig::get_Fields(Fields**Fields);
Parameters
Fields
[out] The address into which this method writes the pointer to the Fields object used to return resource configuration information.
Return Values
This method returns an HRESULT indicating whether it completed successfully. See the Error Values section for more details.
Error Values
This property returns S_OK (0x00000000) to indicate success and standard COM HRESULT error values to indicate failure. For more information about standard COM errors, see Standard COM Errors. Additional information may be available using the global Err object, which can be accessed using the API function GetErrorInfo. In particular, the GetDescription method of the IErrorInfo interface may return a text description of the error.
All ADO, SQL, and ODBC errors will also be returned by this method.
Remarks
The Fields parameter contains valid data only if the method completes successfully.
You update the data in the Fields object to change your configuration information. You then call SaveConfig to commit those changes back to the database.
For more information about memory ownership issues related to COM property and method parameters, see Managing COM Parameter Memory.