다음을 통해 공유


SPIisSettings.PreferredInstanceId Property

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.

See Also

Reference

SPIisSettings Class

SPIisSettings Members

Microsoft.SharePoint.Administration Namespace