Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
'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);
}
/** @property */
public String get_ErrorMessage ()
/** @property */
public void set_ErrorMessage (String value)
public function get ErrorMessage () : String
public function set ErrorMessage (value : String)
Property Value
An error message.
Example
For an example of how to handle conflicts, see How to: Handle Data Conflicts and Errors for Collaborative Synchronization (SQL Server).
See Also
Reference
DbSyncConflict Class
DbSyncConflict Members
Microsoft.Synchronization.Data Namespace