共用方式為


ID 屬性

Gets the ID value that uniquely identifies the system message is written.

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

語法

'宣告
<SfcKeyAttribute()> _
<SfcPropertyAttribute> _
Public ReadOnly Property ID As Integer
    Get
'用途
Dim instance As SystemMessage
Dim value As Integer

value = instance.ID
[SfcKeyAttribute()]
[SfcPropertyAttribute]
public int ID { get; }
[SfcKeyAttribute()]
[SfcPropertyAttribute]
public:
property int ID {
    int get ();
}
[<SfcKeyAttribute()>]
[<SfcPropertyAttribute>]
member ID : int
function get ID () : int

屬性值

型別:System. . :: . .Int32
An Int32 value that specifies the ID value that uniquely identifies the system message.

範例

使用訊息