LineNumber Property
For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.
Gets or sets the line number in the import file where an error happened.
Namespace: Microsoft.CommerceServer.Marketing
Assembly: Microsoft.CommerceServer.Marketing.CrossTierTypes (in Microsoft.CommerceServer.Marketing.CrossTierTypes.dll)
Syntax
'Declaration
Public Property LineNumber As Integer
'Usage
Dim instance As PromoCodeGenerationError
Dim value As Integer
value = instance.LineNumber
instance.LineNumber = value
public int LineNumber { get; set; }
public:
property int LineNumber {
int get ();
void set (int value);
}
public function get LineNumber () : int
public function set LineNumber (value : int)
Property Value
Type: System..::.Int32
A value indicating where the error occurred.
Remarks
LineNumber will be 0 if the error is not caused by a specific line in the import file, for example OutOfRandomCodes, or UploadProblem.
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
PromoCodeGenerationError Structure