Dela via


SqlConnectionStringBuilder.CurrentLanguage Property

Definition

Gets or sets the language used for database server warning or error messages..

public:
 property System::String ^ CurrentLanguage { System::String ^ get(); void set(System::String ^ value); };
public string CurrentLanguage { get; set; }
member this.CurrentLanguage : string with get, set
Public Property CurrentLanguage As String

Property Value

The value of the CurrentLanguage property, or String.Empty if no value has been supplied.

Exceptions

To set the value to null, use Value.

Remarks

This property corresponds to the "Current Language" and "language" keys within the connection string.

The language name can be 128 characters or less.

Applies to