共用方式為


SPVirtualServer.IISInstanceId property

NOTE: This API is now obsolete.

已過時。會取得 ID 的 Microsoft 網際網路資訊服務 (IIS) 的執行個體。

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

Syntax

'宣告
<ObsoleteAttribute("Use SPWebApplication or SPIisSettings instead.",  _
    False)> _
Public ReadOnly Property IISInstanceId As Integer
    Get
'用途
Dim instance As SPVirtualServer
Dim value As Integer

value = instance.IISInstanceId
[ObsoleteAttribute("Use SPWebApplication or SPIisSettings instead.", 
    false)]
public int IISInstanceId { get; }

Property value

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

請參閱

參照

SPVirtualServer class

SPVirtualServer members

Microsoft.SharePoint.Administration namespace