Dela via


ILoginOptions.Language Property

Gets or sets the language that is associated with the login.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
<DisplayDescriptionKeyAttribute("Login_LanguageDesc")> _
<DisplayNameKeyAttribute("Login_LanguageName")> _
Property Language As String
    Get
    Set
'Usage
Dim instance As ILoginOptions
Dim value As String

value = instance.Language

instance.Language = value
[DisplayDescriptionKeyAttribute("Login_LanguageDesc")]
[DisplayNameKeyAttribute("Login_LanguageName")]
string Language { get; set; }
[DisplayDescriptionKeyAttribute(L"Login_LanguageDesc")]
[DisplayNameKeyAttribute(L"Login_LanguageName")]
property String^ Language {
    String^ get ();
    void set (String^ value);
}
[<DisplayDescriptionKeyAttribute("Login_LanguageDesc")>]
[<DisplayNameKeyAttribute("Login_LanguageName")>]
abstract Language : string with get, set
function get Language () : String
function set Language (value : String)

Property Value

Type: System.String
A String value that contains the language that is associated with the login.