Share via


ServerIPAddressCollection.Item[] Property

Definition

Gets a ServerIPAddress object in the collection by name or by index number.

Overloads

Item[Int32]

Gets a ServerIPAddress object in the collection by index number.

Item[String]

Gets a ServerIPAddress object in the collection by name.

Item[Int32]

Gets a ServerIPAddress object in the collection by index number.

public:
 property Microsoft::SqlServer::Management::Smo::Wmi::ServerIPAddress ^ default[int] { Microsoft::SqlServer::Management::Smo::Wmi::ServerIPAddress ^ get(int index); };
public Microsoft.SqlServer.Management.Smo.Wmi.ServerIPAddress this[int index] { get; }
member this.Item(int) : Microsoft.SqlServer.Management.Smo.Wmi.ServerIPAddress
Default Public ReadOnly Property Item(index As Integer) As ServerIPAddress

Parameters

index
Int32

An Int32 value that specifies the position of the ServerIPAddress object in the ServerIPAddressCollection collection.

Property Value

A ServerIPAddress object value that represents the server IP address.

Examples

Using Collections

Applies to

Item[String]

Gets a ServerIPAddress object in the collection by name.

public:
 property Microsoft::SqlServer::Management::Smo::Wmi::ServerIPAddress ^ default[System::String ^] { Microsoft::SqlServer::Management::Smo::Wmi::ServerIPAddress ^ get(System::String ^ name); };
public Microsoft.SqlServer.Management.Smo.Wmi.ServerIPAddress this[string name] { get; }
member this.Item(string) : Microsoft.SqlServer.Management.Smo.Wmi.ServerIPAddress
Default Public ReadOnly Property Item(name As String) As ServerIPAddress

Parameters

name
String

A String value that specifies the name of the ServerIPAddress object in the ServerIPAddressCollection collection.

Property Value

A ServerIPAddress object value that represents the server IP address.

Examples

Using Collections

Applies to