共用方式為


LanguageID 屬性

Gets or sets the ID value that uniquely identifies 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)> _
Public Property LanguageID As Integer
    Get
    Set
'用途
Dim instance As UserDefinedMessage
Dim value As Integer

value = instance.LanguageID

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

屬性值

型別:System. . :: . .Int32
An Int32 value that specifies the ID value that uniquely identifies the language in which the message is written.

範例

使用訊息