Not
Åtkomst till denna sida kräver auktorisation. Du kan prova att logga in eller byta katalog.
Åtkomst till denna sida kräver auktorisation. Du kan prova att byta katalog.
Indicates whether the specified knowledge is known by this knowledge.
Namespace: Microsoft.Synchronization
Assembly: Microsoft.Synchronization (in Microsoft.Synchronization.dll)
Syntax
'Declaration
Public Function Contains ( _
syncKnowledge As SyncKnowledge _
) As Boolean
'Usage
Dim instance As SyncKnowledge
Dim syncKnowledge As SyncKnowledge
Dim returnValue As Boolean
returnValue = instance.Contains(syncKnowledge)
public bool Contains(
SyncKnowledge syncKnowledge
)
public:
bool Contains(
SyncKnowledge^ syncKnowledge
)
member Contains :
syncKnowledge:SyncKnowledge -> bool
public function Contains(
syncKnowledge : SyncKnowledge
) : boolean
Parameters
- syncKnowledge
Type: Microsoft.Synchronization.SyncKnowledge
The knowledge to look up.
Return Value
Type: System.Boolean
true if syncKnowledge is known. Otherwise, false.
Exceptions
| Exception | Condition |
|---|---|
| InvalidOperationException | This SyncKnowledge object is not initialized. |
| ArgumentNullException | syncKnowledge is a null reference (Nothing in Visual Basic). |
| InvalidKnowledgeVersionException | The CompatibilityLevel property is less than SyncFrameworkVersion2. |
Remarks
It is not necessary to call MapRemoteKnowledgeToLocal on syncKnowledge before passing it to this method.