StorageLoadInProgress Property
For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.
Gets a value indicating whether a storage load is in progress.
Namespace: Microsoft.CommerceServer.Runtime
Assembly: Microsoft.CommerceServer.Runtime (in Microsoft.CommerceServer.Runtime.dll)
Syntax
'Declaration
Public ReadOnly Property StorageLoadInProgress As Boolean
'Usage
Dim instance As MappedStorageBase
Dim value As Boolean
value = instance.StorageLoadInProgress
public bool StorageLoadInProgress { get; }
public:
property bool StorageLoadInProgress {
bool get ();
}
public function get StorageLoadInProgress () : boolean
Property Value
Type: System..::.Boolean
true to indicate that a storage load is in progress; otherwise, false. The default is false.
Remarks
StorageLoadInProgress will be set to true by storage load code when a class instance is being initialized, and reset to false after load is complete. This allows SetDirty to be called by property set accessors in the class to avoid updating local last modified DateTime properties and avoid calling SetChildDirty on a parent class.
Permissions
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.