SPList.EventSinkData 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 EventSinkData As String
Get
Set
'用途
Dim instance As SPList
Dim value As String
value = instance.EventSinkData
instance.EventSinkData = value
[ObsoleteAttribute("Use V3 style events")]
public string EventSinkData { get; set; }
Property value
Type: System.String
使用事件處理常式的字串。此屬性設定不會影響Windows SharePoint Services 3.0事件。
備註
EventSinkData屬性只適用於文件庫或清單衍生自 [文件庫,並包含資料的事件處理常式繫結至清單時所指定的使用者介面。如果清單中的文件庫皆衍生自 [文件庫的清單,這個屬性會傳回NotSupportedException例外狀況。
For more information about this property and about document library events, seeWalkthrough: Handling Document Library Events.