Share via


SPList.EventSinkAssembly - Propriété

Remarque : cette API est désormais obsolète.

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.

Espace de noms :  Microsoft.SharePoint
Assembly :  Microsoft.SharePoint (dans Microsoft.SharePoint.dll)

Syntaxe

'Déclaration
<ObsoleteAttribute("Use V3 style events")> _
Public Property EventSinkAssembly As String
    Get
    Set
'Utilisation
Dim instance As SPList
Dim value As String

value = instance.EventSinkAssembly

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

Valeur de propriété

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.

Remarques

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.

Voir aussi

Référence

SPList classe

SPList - Membres

Microsoft.SharePoint - Espace de noms