共用方式為


SPAlertCollection.Web property

取得集合的父網站之內。這個屬性已被取代。

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

Syntax

'宣告
Public ReadOnly Property Web As SPWeb
    Get
'用途
Dim instance As SPAlertCollection
Dim value As SPWeb

value = instance.Web
public SPWeb Web { get; }

Property value

Type: Microsoft.SharePoint.SPWeb
Microsoft.SharePoint.SPWeb 物件,表示 Web 站台。

備註

注意

雖然在目前的產品版本中仍然支援此功能,它可能會在未來移除。如果您撰寫新的應用程式,請避免使用這個已取代的功能,僅供回溯相容性維護。如果您修改現有的應用程式時,您會移除這項功能的任何相依性,我們強烈建議。

請參閱

參照

SPAlertCollection class

SPAlertCollection members

Microsoft.SharePoint namespace