OrderGroupManager.Initialize Method (PIA)

Use this method to create a connection to the specified database.

Definition

[Visual Basic .NET]

Imports Microsoft.CommerceServer.Interop.Orders
…
Public Sub Initialize(ConnectionString As Object)

[C#]

using Microsoft.CommerceServer.Interop.Orders;
…
public void Initialize(ref objectConnectionString);

Parameters

[Visual Basic .NET]

  • ConnectionString
    An Object that contains the database connection string.

[C#]

  • ConnectionString
    A reference to an object that contains the database connection string.

Exceptions

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

[Visual Basic .NET]

Example

' oConnectionString is an Object containing a database connection string
' oOrderGroupManager is a Commerce OrderGroupManager object
oOrderGroupManager.Initialize(oConnectionString)

Requirements

Namespace: Microsoft.CommerceServer.Interop.Orders

Platforms: Windows 2000, Windows Server 2003

Assembly: Microsoft.CommerceServer.Interop.Orders.Requisition.dll

See Also

OrderGroupManager Class

Copyright © 2005 Microsoft Corporation.
All rights reserved.