共用方式為


UserDefinedMessage.Language 屬性

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

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.ReadOnlyAfterCreation Or SfcPropertyFlags.Standalone)> _
<SfcKeyAttribute()> _
Public Property Language As String 
    Get 
    Set
'用途
Dim instance As UserDefinedMessage 
Dim value As String 

value = instance.Language

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

屬性值

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

範例

使用訊息

請參閱

參考

UserDefinedMessage 類別

Microsoft.SqlServer.Management.Smo 命名空間

其他資源

錯誤與訊息