Udostępnij przez


Właściwość UserDefinedMessage.ID

Pobiera wartość Identyfikatora, który unikatowo identyfikuje wiadomości zdefiniowane przez użytkownika.

Przestrzeń nazw:  Microsoft.SqlServer.Management.Smo
Zestaw:  Microsoft.SqlServer.Smo (w Microsoft.SqlServer.Smo.dll)

Składnia

'Deklaracja
<SfcPropertyAttribute(SfcPropertyFlags.ReadOnlyAfterCreation)> _
<SfcKeyAttribute()> _
Public Property ID As Integer
    Get
    Set
'Użycie
Dim instance As UserDefinedMessage
Dim value As Integer

value = instance.ID

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

Wartość właściwości

Typ: System.Int32
Int32 Wartość, która określa wartość Identyfikatora, który unikatowo identyfikuje wiadomości przez użytkownika.