SPAlert.ListID property
取得或設定警示所套用的清單或文件庫的 GUID。
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
Public Property ListID As Guid
Get
Friend Set
'用途
Dim instance As SPAlert
Dim value As Guid
value = instance.ListID
public Guid ListID { get; internal set; }
Property value
Type: System.Guid
識別清單或文件庫的 GUID。
備註
如果警示是外部相符的警示,或AlertType屬性不包含List或Item的ListID屬性,則會擲回SPException 。