SqlSyncProvider::CommandTimeout Property
Gets or sets the wait time, in seconds, before a synchronization command is stopped and an error is generated.
Assembly: Microsoft.Synchronization.Data.SqlServer (in Microsoft.Synchronization.Data.SqlServer.dll)
Property Value
Type: System::Int32The wait time, in seconds, before a synchronization command is stopped and an error is generated. The default value is the default ADO.NET value of 30 seconds. Setting this value to 0 indicates that commands do not time out.
The CommandTimeout property can be useful on systems where commands might take longer to complete than expected, such as a shared system like SQL Azure. To help prevent tying up your application when it would be better to stop synchronization and try again at another time, set the CommandTimeout to an appropriate number of seconds.
Show: