SPList.EventSinkAssembly property
NOTE: This API is now obsolete.
取得或設定檔案的強式名稱在全域組件快取的文件庫事件提供Windows SharePoint Services 2.0事件處理常式。
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
<ObsoleteAttribute("Use V3 style events")> _
Public Property EventSinkAssembly As String
Get
Set
'用途
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
包含的組件檔案名稱的字串。此屬性設定不會影響Windows SharePoint Services 3.0事件。
備註
EventSinkAssembly屬性僅適用於文件庫或清單中,為衍生自 [文件庫,並傳回NotSupportedException例外狀況,如果清單未在文件庫或衍生自 [文件庫清單。
For more information about this property and about document library events, see Walkthrough: Handling Document Library Events.