Proprietà ServerProtocolCollection.Item (String)
Gets a ServerProtocol object in the collection by name.
Spazio dei nomi Microsoft.SqlServer.Management.Smo.Wmi
Assembly: Microsoft.SqlServer.SqlWmiManagement (in Microsoft.SqlServer.SqlWmiManagement.dll)
Sintassi
'Dichiarazione
Public ReadOnly Default Property Item ( _
name As String _
) As ServerProtocol
Get
'Utilizzo
Dim instance As ServerProtocolCollection
Dim name As String
Dim value As ServerProtocol
value = instance(name)
public ServerProtocol this[
string name
] { get; }
public:
property ServerProtocol^ default[String^ name] {
ServerProtocol^ get (String^ name);
}
member Item : ServerProtocol
JScript supporta l'utilizzo di proprietà indicizzate, ma non la dichiarazione di nuove proprietà.
Parametri
- name
Tipo: System.String
A STring value that specifies the name of the ServerProtocol object in the ServerProtocolCollection collection.
Valore proprietà
Tipo: Microsoft.SqlServer.Management.Smo.Wmi.ServerProtocol
A ServerProtocol object value that represents the server protocol.