共用方式為


SPEventPropertiesBase.SiteId property

取得事件的站台 ID。

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

Syntax

'宣告
Public Property SiteId As Guid
    Get
    Protected Friend Set
'用途
Dim instance As SPEventPropertiesBase
Dim value As Guid

value = instance.SiteId

instance.SiteId = value
public Guid SiteId { get; protected internal set; }

Property value

Type: System.Guid
傳回用來識別事件的站台 ID Guid

請參閱

參照

SPEventPropertiesBase class

SPEventPropertiesBase members

Microsoft.SharePoint namespace