共用方式為


SPUser.Alerts property

取得集合的使用者建立的警示。

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'宣告
Public ReadOnly Property Alerts As SPAlertCollection
    Get
'用途
Dim instance As SPUser
Dim value As SPAlertCollection

value = instance.Alerts
public SPAlertCollection Alerts { get; }

Property value

Type: Microsoft.SharePoint.SPAlertCollection
SPAlertCollection 物件,表示警示。

請參閱

參照

SPUser class

SPUser members

Microsoft.SharePoint namespace