Partager via


ReportingLanguage Property

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

Gets or sets the reporting language for the current instance.

Namespace:  Microsoft.CommerceServer.Catalog
Assembly:  Microsoft.CommerceServer.Catalog (in Microsoft.CommerceServer.Catalog.dll)

Syntax

'Declaration
Public Property ReportingLanguage As String
'Usage
Dim instance As ProductCatalog
Dim value As String

value = instance.ReportingLanguage

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

Property Value

Type: System..::.String
The reporting language for the current instance.

Exceptions

Exception Condition
ArgumentNullException

The reporting language is nullNothingnullptra null reference (Nothing in Visual Basic).

ValidationException

The reporting language is not valid.

Remarks

Stores the reporting language for the current Catalog. After you set the reporting language on a catalog you should call the Save method to save the changes to the catalog system. The value you specify for the reporting language should:

  • Not be nullNothingnullptra null reference (Nothing in Visual Basic) or blank.

  • Not exceed 10 characters.

  • Not contain the ,'[] characters.

Permissions

See Also

Reference

ProductCatalog Class

ProductCatalog Members

Microsoft.CommerceServer.Catalog Namespace