Jaa


InventorySystemExists Property

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

Gets a value indicating whether the inventory system exists or not.

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

Syntax

'Declaration
Public ReadOnly Property InventorySystemExists As Boolean
'Usage
Dim instance As CatalogContext
Dim value As Boolean

value = instance.InventorySystemExists
public bool InventorySystemExists { get; }
public:
property bool InventorySystemExists {
    bool get ();
}
public function get InventorySystemExists () : boolean

Property Value

Type: System..::.Boolean
true if the inventory system exists; otherwise false.

Remarks

Returns true if the inventory system exists. This property is used to determine if the Inventory system exists. Typically this method will return true if the site contains the inventory system resource. However it is possible to disable inventory integration using the Web service or setting the IgnoreInventorySystem parameter to true. When used in the Web service mode, this method will return false if the enableInventorySystem parameter in web.config is set to false. When used in the local server mode, this property will return false if the IgnoreInventorySystem parameter is set to true. Otherwise this property will return true if the Commerce site contains the inventory system resource; otherwise it will return false.

Permissions

See Also

Reference

CatalogContext Class

CatalogContext Members

Microsoft.CommerceServer.Catalog Namespace