Item propriété (String)
Gets a ClientProtocol object in the collection by name.
Espace de noms : Microsoft.SqlServer.Management.Smo.Wmi
Assembly : Microsoft.SqlServer.SqlWmiManagement (dans Microsoft.SqlServer.SqlWmiManagement.dll)
Syntaxe
'Déclaration
Public ReadOnly Default Property Item ( _
name As String _
) As ClientProtocol
Get
'Utilisation
Dim instance As ClientProtocolCollection
Dim name As String
Dim value As ClientProtocol
value = instance(name)
public ClientProtocol this[
string name
] { get; }
public:
property ClientProtocol^ default[String^ name] {
ClientProtocol^ get (String^ name);
}
member Item : ClientProtocol
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 ClientProtocol object in the ClientProtocolCollection collection.
Valeur de la propriété
Type : Microsoft.SqlServer.Management.Smo.Wmi. . :: . .ClientProtocol
A ClientProtocol object value that represents the client protocol.