Index

DXStorageManageInfoV4

Purpose:

This class contains the information necessary to support the system-managed storage (SMS) for an object on a variety of object servers in VisualInfo for AS/400.

Methods:

setRetention
        setRetention(long aRetention);

Sets the period in days that the VisualInfo for AS/400 retains the object in system-managed storage. The valid values range from 1 to 999999999. The default value is 30.

getRetention
        long getRetention();

Gets the period in days that the VisualInfo for AS/400 retains the object in system-managed storage. The default value is 30.

setCollectionName
        setCollectionName(LPCTSTR       aCollectionName);

Sets the ASCII user-defined collection name. This character string provides a meaningful name for the collection that has already been created. The name must be valid on the object server where you store the object.

getCollectionName
        BSTR  getCollectionName();

Get the ASCII collection name of this object.

setManagementClass
        void  setManagementClass(LPCTSTR aMgtClass);

Sets the name of the management class in which an object is stored. The name must be valid on the object server where you store the object. If this field contains the value NULL when the object is assigned, the VisualInfo for AS/400 uses the default management class for the collection.

getManagementClass
        BSTR  getManagementClass();

Gets the name of the management class in which an object is stored.

setStorageClass
        setStorageClass(LPCTSTR aStgClass);

Sets the name of the storage class in which an object is stored. The name must be valid on the object server where you store the object. If this field contains the value NULL when the object is assigned, the VisualInfo for AS/400 uses the default initial storage class name of the collection.

getStorageClass
        BSTR  getStorageClass();

Gets the name of the storage class in which an object is stored.

setStoreSite
        setStoreSite(LPCTSTR aStoreSite);

Sets the name of the object server in which an object is stored. After an object is stored in the object server, you can not move it to another object server using this function.

getStoreSite
        BSTR  getStoreSite();

Gets the name of the object server in which the object is stored.

(c) Copyright International Business Machines Corporation 1996, 2002. IBM Corp. All rights reserved.