Share via


SPList.EventSinkAssembly property

NOTE: This API is now obsolete.

Gets or sets the strong name of a file in the global assembly cache that provides a Windows SharePoint Services 2.0 event handler for document library events.

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

Syntax

'Declaration
<ObsoleteAttribute("Use V3 style events")> _
Public Property EventSinkAssembly As String
    Get
    Set
'Usage
Dim instance As SPList
Dim value As String

value = instance.EventSinkAssembly

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

Property value

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

Remarks

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

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

See also

Reference

SPList class

SPList members

Microsoft.SharePoint namespace