Share via


ChangeBatchBase.SetFilterForgottenKnowledge Method

Sets the filter forgotten knowledge for the specified filter.

Namespace: Microsoft.Synchronization
Assembly: Microsoft.Synchronization (in microsoft.synchronization.dll)

Syntax

'Declaration
Public Sub SetFilterForgottenKnowledge ( _
    filterKey As UInteger, _
    filterForgottenKnowledge As SyncKnowledge _
)
'Usage
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
)

Parameters

  • filterKey
    The filter key of the filter that filterForgottenKnowledge pertains to.
  • filterForgottenKnowledge
    The filter forgotten knowledge of the filter identified by filterKey.

Exceptions

Exception type Condition

ArgumentException

The change batch does not contain a filter key map, or filterKey is an invalid value.

SyncInvalidOperationException

A group has not been started in the change batch. This exception is also thrown when a filter forgotten knowledge has already been set for the filter specified by filterKey.

Remarks

The filter forgotten knowledge applies to the currently open group.

See Also

Reference

ChangeBatchBase Class
ChangeBatchBase Members
Microsoft.Synchronization Namespace