Propriété Item (Int32)
Gets a ServerIPAddress object in the collection by index number.
Espace de noms : Microsoft.SqlServer.Management.Smo.Wmi
Assembly : Microsoft.SqlServer.SqlWmiManagement (en Microsoft.SqlServer.SqlWmiManagement.dll)
Syntaxe
'Déclaration
Public ReadOnly Default Property Item ( _
index As Integer _
) As ServerIPAddress
Get
'Utilisation
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 prend en charge l'utilisation de propriétés indexées, mais pas la déclaration de nouvelles propriétés.
Paramètres
- index
Type : System. . :: . .Int32
An Int32 value that specifies the position of the ServerIPAddress object in the ServerIPAddressCollection collection.
Valeur de propriété
Type : Microsoft.SqlServer.Management.Smo.Wmi. . :: . .ServerIPAddress
A ServerIPAddress object value that represents the server IP address.