共用方式為


SPGlobalAdmin.AdminPortIISInstanceId property

NOTE: This API is now obsolete.

使用SPAdministrationWebApplication類別之IisSettings屬性來改為存取的管理連接埠的執行個體識別碼。(在Windows SharePoint Services 2.0AdminPortIISInstanceId屬性 got 的網際網路資訊服務 (IIS) 中,執行個體的系統管理識別碼和維護回溯相容性。)

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

Syntax

'宣告
<ObsoleteAttribute("Use SPAdministrationWebApplication.Local.IisSettings instead.",  _
    False)> _
Public ReadOnly Property AdminPortIISInstanceId As Integer
    Get
'用途
Dim instance As SPGlobalAdmin
Dim value As Integer

value = instance.AdminPortIISInstanceId
[ObsoleteAttribute("Use SPAdministrationWebApplication.Local.IisSettings instead.", 
    false)]
public int AdminPortIISInstanceId { get; }

Property value

Type: System.Int32
32 位元整數,指定識別碼。

請參閱

參照

SPGlobalAdmin class

SPGlobalAdmin members

Microsoft.SharePoint.Administration namespace