ChangeBatchBase.SetFilterForgottenKnowledge 方法
设置指定筛选器的筛选器遗忘知识。
命名空间: Microsoft.Synchronization
程序集: Microsoft.Synchronization(在 microsoft.synchronization.dll 中)
语法
声明
Public Sub SetFilterForgottenKnowledge ( _
filterKey As UInteger, _
filterForgottenKnowledge As SyncKnowledge _
)
用法
Dim instance As ChangeBatchBase
Dim filterKey As UInteger
Dim filterForgottenKnowledge As SyncKnowledge
instance.SetFilterForgottenKnowledge(filterKey, filterForgottenKnowledge)
public void SetFilterForgottenKnowledge (
uint filterKey,
SyncKnowledge filterForgottenKnowledge
)
public:
void SetFilterForgottenKnowledge (
unsigned int filterKey,
SyncKnowledge^ filterForgottenKnowledge
)
public void SetFilterForgottenKnowledge (
UInt32 filterKey,
SyncKnowledge filterForgottenKnowledge
)
public function SetFilterForgottenKnowledge (
filterKey : uint,
filterForgottenKnowledge : SyncKnowledge
)
参数
- filterKey
filterForgottenKnowledge 所属筛选器的筛选键。
- filterForgottenKnowledge
filterKey 标识的筛选器的筛选器遗忘知识。
异常
异常类型 | 条件 |
---|---|
变更批不包含筛选键映射,或 filterKey 是无效值。 |
|
变更批中尚未启动组。为 filterKey 所指定的筛选器设置筛选器遗忘知识后,也会引发此异常。 |
备注
筛选器遗忘知识适用于当前打开的组。
请参阅
参考
ChangeBatchBase 类
ChangeBatchBase 成员
Microsoft.Synchronization 命名空间