SPAlert.ListID 属性

获取或设置警报所应用到的列表或文档库的 GUID。

命名空间:  Microsoft.SharePoint
程序集:  Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)

语法

声明
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; }

属性值

类型:System.Guid
GUID 用于标识该列表或文档库。

备注

如果警报是一个外部匹配的警报或AlertType属性不包含List或Item, ListID属性将引发SPException

另请参阅

引用

SPAlert 类

SPAlert 成员

Microsoft.SharePoint 命名空间