ServerIPAddressCollection.Item Property (String)
Gets a ServerIPAddress object in the collection by name.
Namespace: Microsoft.SqlServer.Management.Smo.Wmi
Assembly: Microsoft.SqlServer.SqlWmiManagement (in Microsoft.SqlServer.SqlWmiManagement.dll)
Syntax
'Declaration
Public ReadOnly Default Property Item ( _
name As String _
) As ServerIPAddress
Get
'Usage
Dim instance As ServerIPAddressCollection
Dim name As String
Dim value As ServerIPAddress
value = instance(name)
public ServerIPAddress this[
string name
] { get; }
public:
property ServerIPAddress^ default[String^ name] {
ServerIPAddress^ get (String^ name);
}
member Item : ServerIPAddress
JScript supports the use of indexed properties, but not the declaration of new ones.
Parameters
- name
Type: System.String
A String value that specifies the name of the ServerIPAddress object in the ServerIPAddressCollection collection.
Property Value
Type: Microsoft.SqlServer.Management.Smo.Wmi.ServerIPAddress
A ServerIPAddress object value that represents the server IP address.