UserDefinedMessage.Language Property

Gets or sets the language in which the message is written.

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

Syntax

'Declaration
<SfcKeyAttribute()> _
<SfcPropertyAttribute(SfcPropertyFlags.ReadOnlyAfterCreation)> _
Public Property Language As String
    Get
    Set
'Usage
Dim instance As UserDefinedMessage
Dim value As String

value = instance.Language

instance.Language = value
[SfcKeyAttribute()]
[SfcPropertyAttribute(SfcPropertyFlags.ReadOnlyAfterCreation)]
public string Language { get; set; }
[SfcKeyAttribute()]
[SfcPropertyAttribute(SfcPropertyFlags::ReadOnlyAfterCreation)]
public:
property String^ Language {
    String^ get ();
    void set (String^ value);
}
[<SfcKeyAttribute()>]
[<SfcPropertyAttribute(SfcPropertyFlags.ReadOnlyAfterCreation)>]
member Language : string with get, set
function get Language () : String
function set Language (value : String)

Property Value

Type: System.String
A String value that specifies the language in which the message is written.

Examples

Using Messages