共用方式為


SPEventReceiverDefinition.WebId property

取得用來註冊事件接收器的站台 ID。

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

Syntax

'宣告
Public ReadOnly Property WebId As Guid
    Get
'用途
Dim instance As SPEventReceiverDefinition
Dim value As Guid

value = instance.WebId
public Guid WebId { get; }

Property value

Type: System.Guid
識別站台的 GUID。

請參閱

參照

SPEventReceiverDefinition class

SPEventReceiverDefinition members

Microsoft.SharePoint namespace

其他資源

事件接收器結果集