Item Propiedad (String)
Gets a ServerProtocol object in the collection by name.
Espacio de nombres: Microsoft.SqlServer.Management.Smo.Wmi
Ensamblado: Microsoft.SqlServer.SqlWmiManagement (en Microsoft.SqlServer.SqlWmiManagement.dll)
Sintaxis
'Declaración
Public ReadOnly Default Property Item ( _
name As String _
) As ServerProtocol
Get
'Uso
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 admite el uso de propiedades indizadas, pero no la declaración de otras nuevas.
Parámetros
- name
Tipo: System. . :: . .String
A STring value that specifies the name of the ServerProtocol object in the ServerProtocolCollection collection.
Valor de la propiedad
Tipo: Microsoft.SqlServer.Management.Smo.Wmi. . :: . .ServerProtocol
A ServerProtocol object value that represents the server protocol.