Поделиться через


Свойство UserDefinedMessage.ID

Gets the ID value that uniquely identifies the user-defined message.

Пространство имен:  Microsoft.SqlServer.Management.Smo
Сборка:  Microsoft.SqlServer.Smo (в Microsoft.SqlServer.Smo.dll)

Синтаксис

'Декларация
<SfcKeyAttribute()> _
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.ReadOnlyAfterCreation Or SfcPropertyFlags.Standalone)> _
Public Property ID As Integer 
    Get 
    Set
'Применение
Dim instance As UserDefinedMessage 
Dim value As Integer 

value = instance.ID

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

Значение свойства

Тип: System.Int32
An Int32 value that specifies ID value that uniquely identifies the user-defined message.

Примеры

Использование сообщений

См. также

Справочник

UserDefinedMessage Класс

Пространство имен Microsoft.SqlServer.Management.Smo

Другие ресурсы

Ошибки и сообщения