ExcludeItem-Methode

Entfernt Wissen über das angegebene Element aus dem Wissen.

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

Syntax

'Declaration
Public Sub ExcludeItem ( _
    itemId As SyncId _
)
'Usage
Dim instance As SyncKnowledge
Dim itemId As SyncId

instance.ExcludeItem(itemId)
public void ExcludeItem(
    SyncId itemId
)
public:
void ExcludeItem(
    SyncId^ itemId
)
member ExcludeItem : 
        itemId:SyncId -> unit 
public function ExcludeItem(
    itemId : SyncId
)

Parameter

Ausnahmen

Ausnahme Bedingung
InvalidOperationException

Dieses SyncKnowledge-Objekt ist nicht initialisiert.

ArgumentNullException

itemId ist NULL.

SyncIdFormatMismatchException

itemId hat nicht das ID-Format, das für dieses Wissensobjekt angegeben wurde, oder hat eine andere Einstellung für die variable Länge.

Siehe auch

Verweis

SyncKnowledge Klasse

SyncKnowledge-Member

Microsoft.Synchronization-Namespace