共用方式為


SPWebInfo.AppInstanceId property

如果這是應用程式 Web 應用程式執行個體的執行個體識別碼。否則,Guid.Empty。

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

Syntax

'宣告
Public ReadOnly Property AppInstanceId As Guid
    Get
'用途
Dim instance As SPWebInfo
Dim value As Guid

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

Property value

Type: System.Guid
Guid

請參閱

參照

SPWebInfo class

SPWebInfo members

Microsoft.SharePoint namespace