Share via


SPWebServerCollection.Item property

Gets the Web server object at the specified index in the collection. In C#, this property is the indexer for the SPWebServerCollection class.

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

Syntax

'Declaration
Public ReadOnly Property Item ( _
    index As Integer _
) As SPWebServer
    Get
'Usage
Dim instance As SPWebServerCollection
Dim index As Integer
Dim value As SPWebServer

value = instance.Item(index)
public SPWebServer this[
    int index
] { get; }

Parameters

  • index
    Type: System.Int32

    A 32-bit integer that specifies the index.

Property value

Type: Microsoft.SharePoint.Administration.SPWebServer
An SPWebServer object that represents the Web server.

See also

Reference

SPWebServerCollection class

SPWebServerCollection members

Microsoft.SharePoint.Administration namespace