共用方式為


SPSecurityEventProperties.WebId property

取得目前的網站發生該事件的識別項。

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

Syntax

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

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

Property value

Type: System.Guid
目前的 web 識別項。

請參閱

參照

SPSecurityEventProperties class

SPSecurityEventProperties members

Microsoft.SharePoint namespace