Share via


CacheManager.WriterProgId Property (PIA)

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

Definition

[Visual Basic .NET]

Imports Microsoft.CommerceServer.Interop.Caching
…
Public Property WriterProgId(bstrName As String) As String

[C#]

Get method:

using Microsoft.CommerceServer.Interop.Caching;
…
public string get_WriterProgId(stringbstrName);

Put method:

void set_WriterProgId(stringbstrName,
 stringppstrProgId);

Parameters

[Visual Basic .NET]

  • bstrName
    A String that contains the name of a data cache for which the Writer component ProgID is being provided or retrieved.

[C#]

  • bstrName
    A string that contains the name of a data cache for which the Writer component ProgID is being provided or retrieved.
  • ppstrProgId
    When setting the property, a string that contains the ProgID of the Writer component.

Return Values

When getting, a string with the ProgID.

[C#]

Exceptions

This property may throw one of many mapped exceptions or an exception of type COMException. See Standard COM Errors for additional details.

Remarks

The get_WriterProgId and set_WriterProgId 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

CacheManager Class

Copyright © 2005 Microsoft Corporation.
All rights reserved.