Share via


ReplicationAgentException.MessageCode Property

Gets the error code of the underlying error.

Namespace: Microsoft.SqlServer.Replication
Assembly: Microsoft.SqlServer.Replication (in microsoft.sqlserver.replication.dll)

Syntax

'Declaration
Public ReadOnly Property MessageCode As Integer
public int MessageCode { get; }
public:
property int MessageCode {
    int get ();
}
/** @property */
public int get_MessageCode ()
public function get MessageCode () : int

Property Value

An Int32 value.

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 2005.

Target Platforms

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

See Also

Reference

ReplicationAgentException Class
ReplicationAgentException Members
Microsoft.SqlServer.Replication Namespace