Compartir a través de


ID Propiedad

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

Espacio de nombres:  Microsoft.SqlServer.Management.Smo
Ensamblado:  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Sintaxis

'Declaración
<SfcKeyAttribute()> _
<SfcPropertyAttribute(SfcPropertyFlags.ReadOnlyAfterCreation)> _
Public Property ID As Integer
    Get
    Set
'Uso
Dim instance As UserDefinedMessage
Dim value As Integer

value = instance.ID

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

Valor de la propiedad

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

Ejemplos

Usar mensajes