Condividi tramite


Proprietà Item (String)

Gets a ServiceRoute object in the collection by name.

Spazio dei nomi:  Microsoft.SqlServer.Management.Smo.Broker
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Sintassi

'Dichiarazione
Public ReadOnly Default Property Item ( _
    name As String _
) As ServiceRoute
    Get
'Utilizzo
Dim instance As ServiceRouteCollection
Dim name As String
Dim value As ServiceRoute

value = instance(name)
public ServiceRoute this[
    string name
] { get; }
public:
property ServiceRoute^ default[String^ name] {
    ServiceRoute^ get (String^ name);
}
member Item : ServiceRoute
JScript supporta l'utilizzo di proprietà indicizzate, ma non la dichiarazione di nuove proprietà.

Parametri

Valore proprietà

Tipo: Microsoft.SqlServer.Management.Smo.Broker. . :: . .ServiceRoute
A ServiceRoute object value that represents the service route.