IPredictorServiceAdmin::get_slModelConfigs

Ee824559.c++_off(en-US,CS.10).gifEe824559.vb_on(en-US,CS.10).gif

The slModelConfigs property is a read-only SimpleList object that contains information about the available model configurations.

Definition

HRESULT IPredictorServiceAdmin::get_slModelConfigs(ISimpleList**ppslVal);

Parameters

ppslVal

[out, retval] The address of a pointer to the ISimpleList interface of a SimpleList object used to return the list of model configurations.

Return Values

This method returns an HRESULT indicating whether or not it completed successfully. See the following Error Values section for more details.

Error Values

This method 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.

Remarks

The SimpleList object, slModelConfigs, contains a Dictionary object for each model configuration. A model configuration contains information used to build a model. The following table describes the keys of the Dictionary object which are the names of the model configuration properties.

Key Name Type Description
DWResourceName BSTR Name of the Data Warehouse resource where the model configuration is defined.
ModelCfgName BSTR Name of the model configuration.
SiteName BSTR Reserved. May not appear in the dictionary.

Use the DeleteModelConfig method of the PredictorServiceSiteAdmin object to delete a model configuration.

For more information about memory ownership issues related to COM property and method parameters, see Managing COM Parameter Memory.

The ppslVal parameter contains valid data only if the property is accessed successfully.

See Also

PredictorServiceAdmin Object

PredictorServiceSiteAdmin Object

PredModelBuilder Object


All rights reserved.