Condividi tramite


Proprietà Item (Int32)

Gets a ServiceRoute object in the collection by index number.

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

Sintassi

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

value = instance(index)
public ServiceRoute this[
    int index
] { get; }
public:
property ServiceRoute^ default[int index] {
    ServiceRoute^ get (int index);
}
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.