共用方式為


MessageCode 屬性

Gets the error code of the underlying error.

命名空間:  Microsoft.SqlServer.Replication
組件:  Microsoft.SqlServer.Replication (在 Microsoft.SqlServer.Replication.dll 中)

語法

'宣告
Public ReadOnly Property MessageCode As Integer
    Get
'用途
Dim instance As ReplicationAgentException
Dim value As Integer

value = instance.MessageCode
public int MessageCode { get; }
public:
property int MessageCode {
    int get ();
}
member MessageCode : int
function get MessageCode () : int

屬性值

型別:System. . :: . .Int32
An Int32 value.