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)
Available in Sandboxed Solutions: No
Syntax
'Declaration
Public ReadOnly Default Property Item ( _
index As Integer _
) As SPWebServer
Get
'Usage
Dim instance As SPWebServerCollection
Dim index As Integer
Dim value As SPWebServer
value = instance(index)
public SPWebServer this[
int index
] { get; }
Parameters
index
Type: System.Int32A 32-bit integer that specifies the index.
Property Value
Type: Microsoft.SharePoint.Administration.SPWebServer
An SPWebServer object that represents the Web server.