Share via


CacheObjectProgID Property

For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.

Gets or sets the ProgId of the component that is the cache container object.

Namespace:  Microsoft.CommerceServer.Runtime.Caching
Assembly:  Microsoft.CommerceServer.Runtime (in Microsoft.CommerceServer.Runtime.dll)

Syntax

'Declaration
Public Property CacheObjectProgID As String
'Usage
Dim instance As CommerceCache
Dim value As String

value = instance.CacheObjectProgID

instance.CacheObjectProgID = value
public string CacheObjectProgID { get; set; }
public:
property String^ CacheObjectProgID {
    String^ get ();
    void set (String^ value);
}
public function get CacheObjectProgID () : String
public function set CacheObjectProgID (value : String)

Property Value

Type: System..::.String
The ProgId of the component that is the cache container object.

Exceptions

Exception Condition
CommerceCacheException

A General failure

Remarks

Generally the CacheObjectProgID object is either Commerce.Dictionary or Commerce.LRUCache and may be nullNothingnullptra null reference (Nothing in Visual Basic).

Permissions

See Also

Reference

CommerceCache Class

CommerceCache Members

Microsoft.CommerceServer.Runtime.Caching Namespace