获取或设置警报应用到的对象可以是列表或文档库、 列表项或文档或自定义的对象的类型。
命名空间: Microsoft.SharePoint
程序集: Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)
语法
声明
Public Property AlertType As SPAlertType
Get
Set
用法
Dim instance As SPAlert
Dim value As SPAlertType
value = instance.AlertType
instance.AlertType = value
public SPAlertType AlertType { get; set; }
属性值
类型:Microsoft.SharePoint.SPAlertType
一个SPAlertType值,指定警报所应用到的项的类型。
备注
AlertType属性对于新的Alert对象是必需的并且不包含默认值。之后调用Update方法时,不能更改此属性。