CacheManager.CacheObjectProgId Property (PIA)
The CacheObjectProgId property is a read/write String that contains the name of the object to be used internally to perform caching functions for this CacheManager object. It also determines the type of object returned by the GetCache method.
Definition
[Visual Basic .NET]
Imports Microsoft.CommerceServer.Interop.Caching
…
Public Property CacheObjectProgId(bstrName As String) As String
[C#]
Get method:
using Microsoft.CommerceServer.Interop.Caching;
…
public string get_CacheObjectProgId(stringbstrName);
Put method:
public void set_CacheObjectProgId(stringbstrName,
stringpbstrProgId);
Parameters
[Visual Basic .NET]
- bstrName
A String that contains the name of the cache object.
[C#]
- bstrName
A string that contains the name of the cache object. - pbstrProgId
When setting the property, a string that contains the ProgID of the cache object.
When getting the property, a pointer to a string used to return the ProgID of the cache object.
Return Values
When getting, a string containing the ProgID.
Exceptions
This property may throw one of many mapped exceptions or an exception of type COMException. See Standard COM Errors for additional details.
Remarks
By default, the CacheManager object will have Commerce.Dictionary set as the value for this property.
[C#] The get_CacheProjectProgID and set_CacheProjectProgId methods do not show up in IntelliSense.
Requirements
Namespace: Microsoft.CommerceServer.Interop.Caching
Platforms: Windows 2000, Windows Server 2003
Assembly: cachecomplib (in cachecomplib.dll)
See Also
Copyright © 2005 Microsoft Corporation.
All rights reserved.