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 命名空间

其他资源

错误和消息