SPList.EventSinkClass property

NOTE: This API is now obsolete.

Gets or sets the fully qualified, case-sensitive name of a class that defines a Windows SharePoint Services 2.0 event handler for document library events.

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


<ObsoleteAttribute("Use V3 style events")> _
Public Property EventSinkClass As String
Dim instance As SPList
Dim value As String

value = instance.EventSinkClass

instance.EventSinkClass = value
[ObsoleteAttribute("Use V3 style events")]
public string EventSinkClass { get; set; }

Property value

Type: System.String
A string that contains the name of the class. This property setting does not affect Windows SharePoint Services 3.0 events.


The EventSinkClass property only applies to a document library or to a list derived from a document library and returns a NotSupportedException exception if the list is neither a document library nor a list that is derived from a document library.

For more information about this property and about document library events, see Walkthrough: Handling Document Library Events.

See also


SPList class

SPList members

Microsoft.SharePoint namespace