SqlConnectionStringBuilder.CurrentLanguage 属性

定义

获取或设置 SQL Server 语言记录名称。

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

属性值

属性的值 CurrentLanguage ,或者 String.Empty 未提供任何值。

例外

若要将值设置为 null,请使用 Value

注解

此属性对应于连接字符串中的“当前语言”和“语言”键。

适用于

另请参阅