Import Method

Imports information for the specified resource.

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

Syntax

'Declaration
Public Sub Import ( _
    szSiteName As String, _
    szResourceName As String, _
    szPath As String, _
    bSilent As Integer _
)
'Usage
Dim instance As CatalogPup
Dim szSiteName As String
Dim szResourceName As String
Dim szPath As String
Dim bSilent As Integer

instance.Import(szSiteName, szResourceName, _
    szPath, bSilent)
public void Import(
    string szSiteName,
    string szResourceName,
    string szPath,
    int bSilent
)
public:
virtual void Import(
    String^ szSiteName, 
    String^ szResourceName, 
    String^ szPath, 
    int bSilent
) sealed
public final function Import(
    szSiteName : String, 
    szResourceName : String, 
    szPath : String, 
    bSilent : int
)

Parameters

  • szPath
    Type: System..::.String
    The path where the Site Packager has deposited one or more files packaged for this resource.
  • bSilent
    Type: System..::.Int32
    Used to indicate whether any user interaction is allowed. 0 suppresses user interaction, allowing for unattended operation; otherwise, anything except 0.

Remarks

This method is called when Site Packager unpacks a Commerce Server Site Package. In order for your custom resource to make use of one or more files from this package, you must implement this method.

Permissions

See Also

Reference

CatalogPup Class

CatalogPup Members

Microsoft.CommerceServer.Catalog Namespace