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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
PromoCodeDefinitionManager Class