共用方式為


SPLink.WebId property

取得包含連結的站台 ID。

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

Syntax

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

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

Property value

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

請參閱

參照

SPLink class

SPLink members

Microsoft.SharePoint namespace