SPAlert.MatchId property
取得或設定外部相符警示的預先篩選的 GUID。
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
Public Property MatchId As Guid
Get
Set
'用途
Dim instance As SPAlert
Dim value As Guid
value = instance.MatchId
instance.MatchId = value
public Guid MatchId { get; set; }
Property value
Type: System.Guid
System.Guid表示預先篩選的 GUID。
備註
MatchId屬性會擲回SPException在下列情況:
如果AlertType屬性包含Custom,就需要這個屬性。如果現有的清單,指定 GUID,警示符合在清單中的所有事件,但它不會出現在警示管理 UI。