Note
Ang pag-access sa pahinang ito ay nangangailangan ng pahintulot. Maaari mong subukang mag-sign in o magpalit ng mga direktoryo.
Ang pag-access sa pahinang ito ay nangangailangan ng pahintulot. Maaari mong subukang baguhin ang mga direktoryo.
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.