Partager via


CancelExport Method

Cancels the export of the specified file.

Namespace:  Microsoft.CommerceServer.Marketing
Assembly:  Microsoft.CommerceServer.Marketing.CrossTierTypes (in Microsoft.CommerceServer.Marketing.CrossTierTypes.dll)

Syntax

'Declaration
Public Sub CancelExport ( _
    filePath As String _
)
'Usage
Dim instance As PromoCodeDefinitionManager
Dim filePath As String

instance.CancelExport(filePath)
public void CancelExport(
    string filePath
)
public:
void CancelExport(
    String^ filePath
)
public function CancelExport(
    filePath : String
)

Parameters

  • filePath
    Type: System..::.String
    Full path of the file to which promotion codes are being exported.

Exceptions

Exception Condition
EntityDoesNotExistException

No export has been recently performed for the file provided.

Remarks

Cancels the export of the file located at filePath.

Permissions

See Also

Reference

PromoCodeDefinitionManager Class

PromoCodeDefinitionManager Members

Microsoft.CommerceServer.Marketing Namespace