SPUsageReceiverDefinitionCollection.Remove method (SPUsageReceiverDefinition)
Removes the receiver definition from this collection.
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Sub Remove ( _
receiverDefinition As SPUsageReceiverDefinition _
)
'Usage
Dim instance As SPUsageReceiverDefinitionCollection
Dim receiverDefinition As SPUsageReceiverDefinition
instance.Remove(receiverDefinition)
public void Remove(
SPUsageReceiverDefinition receiverDefinition
)
Parameters
receiverDefinition
Type: Microsoft.SharePoint.Administration.SPUsageReceiverDefinitionThe receiver definition to be removed.
Remarks
An exception is thrown if receiverDefinition is null.
See also
Reference
SPUsageReceiverDefinitionCollection class