SPIisSettings.PreferredInstanceId property

Gets or sets the instance ID of the Web application.

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

Syntax

'Declaration
Public Property PreferredInstanceId As Integer
    Get
    Set
'Usage
Dim instance As SPIisSettings
Dim value As Integer

value = instance.PreferredInstanceId

instance.PreferredInstanceId = value
public int PreferredInstanceId { get; set; }

Property value

Type: System.Int32
A 32-bit integer that specifies the instance ID.

See also

Reference

SPIisSettings class

SPIisSettings members

Microsoft.SharePoint.Administration namespace