다음을 통해 공유


SPList.EventSinkAssembly Property

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

Public Property EventSinkAssembly As String
    Get
    Set

Dim instance As SPList
Dim value As String

value = instance.EventSinkAssembly

instance.EventSinkAssembly = value
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