Partager via


Propriété Item (String)

Gets a ProtocolProperty 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 ProtocolProperty
    Get
'Utilisation
Dim instance As ProtocolPropertyCollection
Dim name As String
Dim value As ProtocolProperty

value = instance(name)
public ProtocolProperty this[
    string name
] { get; }
public:
property ProtocolProperty^ default[String^ name] {
    ProtocolProperty^ get (String^ name);
}
member Item : ProtocolProperty
JScript prend en charge l'utilisation de propriétés indexées, mais pas la déclaration de nouvelles propriétés.

Paramètres

Valeur de propriété

Type : Microsoft.SqlServer.Management.Smo.Wmi. . :: . .ProtocolProperty
A ProtocolProperty object value that represents an attribute of the protocol.