SqlConnectionStringBuilder.CurrentLanguage Property

Definition

获取或设置 SQL Server 语言记录名称。Gets or sets the SQL Server Language record name.

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

String

CurrentLanguage 属性的值,或者,如果未提供任何值,则为 String.EmptyThe value of the CurrentLanguage property, or String.Empty if no value has been supplied.

Exceptions

若要将值设置为 null,请使用 ValueTo set the value to null, use Value.

Remarks

此属性与连接字符串内的“Current Language”和“language”键相对应。This property corresponds to the "Current Language" and "language" keys within the connection string.

Applies to

See also