ICacheManager::get_LoaderProgId, put_LoaderProgId

Ee785469.c++_off(en-US,CS.10).gifEe785469.vb_on(en-US,CS.10).gif

The LoaderProgId property is a read/write string that contains the Programmatic Identifier (ProgID) of the component intended for use in populating the cache.

Definition

Get method:

HRESULT ICacheManager::get_LoaderProgId(BSTRbstrName,BSTR*LoaderProgId);

Put method:

HRESULT ICacheManager::put_LoaderProgId(BSTRbstrName,BSTRLoaderProgId);

Parameters

bstrName

[in] A BSTR that contains the name of a data cache for which the Loader component ProgID is being provided or retrieved.

LoaderProgId

[in] When putting the property, a BSTR that contains the ProgID of the Loader component.
[out,retval] When getting the property, a pointer to a BSTR user to return the ProgID of the Loader component.

Return Values

These methods return an HRESULT indicating whether they completed successfully. See the Error Values section for more details.

Error Values

These methods return 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.

See Also

CacheManager Object


All rights reserved.