SimpleSyncItemConstraintEventArgs.SetResolutionAction 方法
设置冲突解决操作,例如 DestinationWins。
命名空间: Microsoft.Synchronization.SimpleProviders
程序集: Microsoft.Synchronization.SimpleProviders(在 microsoft.synchronization.simpleproviders.dll 中)
语法
声明
Public Sub SetResolutionAction ( _
resolutionAction As ConstraintConflictResolutionAction _
)
用法
Dim instance As SimpleSyncItemConstraintEventArgs
Dim resolutionAction As ConstraintConflictResolutionAction
instance.SetResolutionAction(resolutionAction)
public void SetResolutionAction (
ConstraintConflictResolutionAction resolutionAction
)
public:
void SetResolutionAction (
ConstraintConflictResolutionAction resolutionAction
)
public void SetResolutionAction (
ConstraintConflictResolutionAction resolutionAction
)
public function SetResolutionAction (
resolutionAction : ConstraintConflictResolutionAction
)
参数
- resolutionAction
一个指定冲突解决操作的 ConstraintConflictResolutionAction 枚举值。
请参阅
参考
SimpleSyncItemConstraintEventArgs 类
SimpleSyncItemConstraintEventArgs 成员
Microsoft.Synchronization.SimpleProviders 命名空间