PercentComplete Property

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

Gets the percent of the import completed (Approximated by number of items being imported.)

Namespace:  Microsoft.CommerceServer.Catalog
Assembly:  Microsoft.CommerceServer.Catalog (in Microsoft.CommerceServer.Catalog.dll)

Syntax

'Declaration
Public ReadOnly Property PercentComplete As Integer
'Usage
Dim instance As ImportProgress
Dim value As Integer

value = instance.PercentComplete
public int PercentComplete { get; }
public:
property int PercentComplete {
    int get ();
}
public function get PercentComplete () : int

Property Value

Type: System..::.Int32
A value representing the percentage completion of the import.

Remarks

The returned value represents the completed portion of the current import operation. Checks the current status of the import operation and gets the percentage of imports that are completed.

Catalog import provides the status in the form of an approximate percent-complete. This is useful for displaying a progress bar and potentially approximating an estimated completion time.

Permissions

See Also

Reference

ImportProgress Class

ImportProgress Members

Microsoft.CommerceServer.Catalog Namespace