Partager via


OriginalFileName Property

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

Gets or sets the original import file name associated with the promotional code batch.

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

Syntax

'Declaration
Public Property OriginalFileName As String
'Usage
Dim instance As BatchInfo
Dim value As String

value = instance.OriginalFileName

instance.OriginalFileName = value
public string OriginalFileName { get; set; }
public:
property String^ OriginalFileName {
    String^ get ();
    void set (String^ value);
}
public function get OriginalFileName () : String
public function set OriginalFileName (value : String)

Property Value

Type: System..::.String
The name of the original imported file.

Remarks

The returned value contains the name of the file from which the BatchInfo was made. This property will be empty when generating promotional codes. Default is nullNothingnullptra null reference (Nothing in Visual Basic).

Permissions

See Also

Reference

BatchInfo Class

BatchInfo Members

Microsoft.CommerceServer.Marketing Namespace