Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets or sets the instance ID of the Web application.
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
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.