Share via


ExportResource Method

Writes the specified resource, resource properties, and attributes to the specified file.

Namespace:  Microsoft.CommerceServer.Interop.Configuration
Assembly:  Microsoft.CommerceServer.Interop.Configuration.MSCSCfg (in Microsoft.CommerceServer.Interop.Configuration.MSCSCfg.dll)

Syntax

'Declaration
Public Sub ExportResource ( _
    bstrResourceName As String, _
    bstrFileName As String _
)
'Usage
Dim instance As SiteConfigFreeThreaded
Dim bstrResourceName As String
Dim bstrFileName As String

instance.ExportResource(bstrResourceName, _
    bstrFileName)
public void ExportResource(
    string bstrResourceName,
    string bstrFileName
)
public:
void ExportResource(
    String^ bstrResourceName, 
    String^ bstrFileName
)
public function ExportResource(
    bstrResourceName : String, 
    bstrFileName : String
)

Parameters

  • bstrFileName
    Type: System..::.String
    The destination file name for the resource export.

Remarks

This method and the ImportResource method are complements of each other. This method creates the file that ImportResource uses.

The Initialize method must be called before this method can be used.

Permissions

See Also

Reference

SiteConfigFreeThreaded Class

SiteConfigFreeThreaded Members

Microsoft.CommerceServer.Interop.Configuration Namespace