Dela via


ServerIPAddressCollection.Item Property (Int32)

Gets a ServerIPAddress object in the collection by index number.

Namespace:  Microsoft.SqlServer.Management.Smo.Wmi
Assembly:  Microsoft.SqlServer.SqlWmiManagement (in Microsoft.SqlServer.SqlWmiManagement.dll)

Syntax

'Declaration
Public ReadOnly Default Property Item ( _
    index As Integer _
) As ServerIPAddress
    Get
'Usage
Dim instance As ServerIPAddressCollection
Dim index As Integer
Dim value As ServerIPAddress

value = instance(index)
public ServerIPAddress this[
    int index
] { get; }
public:
property ServerIPAddress^ default[int index] {
    ServerIPAddress^ get (int index);
}
member Item : ServerIPAddress
JScript supports the use of indexed properties, but not the declaration of new ones.

Parameters

Property Value

Type: Microsoft.SqlServer.Management.Smo.Wmi.ServerIPAddress
A ServerIPAddress object value that represents the server IP address.