ShippingMethodManager.Initialize Method (PIA)
Use this method to initialize a ShippingMethodManager object and connect it to a database.
Definition
[Visual Basic .NET]
Imports Microsoft.CommerceServer.Interop.Orders
…
Public Sub Initialize(ByRefconnection_string As Object)
[C#]
using Microsoft.CommerceServer.Interop.Orders;
…
public void Initialize(ref objectconnection_string);
Parameters
[Visual Basic .NET]
- connection_string
A String containing the connection string.
[C#]
- connection_string
A reference to an object containing a string with the connection string value.
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
' oSMM is a Commerce.ShippingMethodManager object
' sConnectionString is a string containing the connection
' string
oSMM.Initialize(sConnectionString)
Requirements
Namespace: Microsoft.CommerceServer.Interop.Orders
Platforms: Windows 2000, Windows Server 2003
Assembly: cs_shipmgr (in cs_shipmgr.dll)
See Also
Copyright © 2005 Microsoft Corporation.
All rights reserved.