Share via


SPVirtualServer.IISInstanceId property

NOTE: This API is now obsolete.

Obsolete. Gets the instance ID of Microsoft Internet Information Services (IIS).

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

Syntax

'Declaration
<ObsoleteAttribute("Use SPWebApplication or SPIisSettings instead.",  _
    False)> _
Public ReadOnly Property IISInstanceId As Integer
    Get
'Usage
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
A 32-bit integer that specifies the ID.

See also

Reference

SPVirtualServer class

SPVirtualServer members

Microsoft.SharePoint.Administration namespace