Megosztás a következőn keresztül:


ServiceRouteCollection.Item Property (Int32)

Gets a ServiceRoute object in the collection by index number.

Namespace:  Microsoft.SqlServer.Management.Smo.Broker
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
Public ReadOnly Default Property Item ( _
    index As Integer _
) As ServiceRoute
    Get
'Usage
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 supports the use of indexed properties, but not the declaration of new ones.

Parameters

Property Value

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