Udostępnij za pośrednictwem


UserDefinedMessage.ID Property

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

Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)

Syntax

'Deklaracja
<SfcKeyAttribute(1)> _
<SfcPropertyAttribute(SfcPropertyFlags.ReadOnlyAfterCreation)> _
Public Property ID As Integer
[SfcKeyAttribute(1)] 
[SfcPropertyAttribute(SfcPropertyFlags.ReadOnlyAfterCreation)] 
public int ID { get; set; }
[SfcKeyAttribute(1)] 
[SfcPropertyAttribute(SfcPropertyFlags::ReadOnlyAfterCreation)] 
public:
property int ID {
    int get ();
    void set (int value);
}
/** @property */
public int get_ID ()

/** @property */
public void set_ID (int value)
public function get ID () : int

public function set ID (value : int)

Property Value

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

Example

Using Messages

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.