DbSyncConflict.ErrorMessage Property

Gets or sets the error message that is returned when DbConflictType is set to ErrorsOccurred.

Namespace:  Microsoft.Synchronization.Data
Assembly:  Microsoft.Synchronization.Data (in Microsoft.Synchronization.Data.dll)

Syntax

'Declaration
Public Property ErrorMessage As String
    Get
    Set
'Usage
Dim instance As DbSyncConflict
Dim value As String

value = instance.ErrorMessage

instance.ErrorMessage = value
public string ErrorMessage { get; set; }
public:
property String^ ErrorMessage {
    String^ get ();
    void set (String^ value);
}
member ErrorMessage : string with get, set
function get ErrorMessage () : String
function set ErrorMessage (value : String)

Property Value

Type: System.String
An error message.

Examples

For an example of how to handle conflicts, see How to: Handle Data Conflicts and Errors for Database Synchronization (SQL Server).

See Also

Reference

DbSyncConflict Class

Microsoft.Synchronization.Data Namespace