Jaa


CodeGenerationStatus Property

For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.

Gets a code describing the status of the last promotion generation task for this definition.

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

Syntax

'Declaration
Public ReadOnly Property CodeGenerationStatus As PromoCodeOperationStatusCode
'Usage
Dim instance As PromoCodeDefinition
Dim value As PromoCodeOperationStatusCode

value = instance.CodeGenerationStatus
public PromoCodeOperationStatusCode CodeGenerationStatus { get; }
public:
property PromoCodeOperationStatusCode CodeGenerationStatus {
    PromoCodeOperationStatusCode get ();
}
public function get CodeGenerationStatus () : PromoCodeOperationStatusCode

Property Value

Type: Microsoft.CommerceServer.Marketing..::.PromoCodeOperationStatusCode
A PromoCodeOperationStatusCode enumeration value indicating the status of the last promotion generation task.

Remarks

If no tasks have been defined for the current definition, then the value is Queued. For import tasks, the latest status can be retrieved through GetLastGenerationStatusForUser.

Permissions

See Also

Reference

PromoCodeDefinition Class

PromoCodeDefinition Members

Microsoft.CommerceServer.Marketing Namespace