Propriété Item (String)
Gets a ServerIPAddress object in the collection by name.
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 ( _
name As String _
) As ServerIPAddress
Get
'Utilisation
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 prend en charge l'utilisation de propriétés indexées, mais pas la déclaration de nouvelles propriétés.
Paramètres
- name
Type : System. . :: . .String
A String value that specifies the name 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.