Propriedade Item (Int32)
Gets a ServiceRoute object in the collection by index number.
Namespace: Microsoft.SqlServer.Management.Smo.Broker
Assembly: Microsoft.SqlServer.Smo (em Microsoft.SqlServer.Smo.dll)
Sintaxe
'Declaração
Public ReadOnly Default Property Item ( _
index As Integer _
) As ServiceRoute
Get
'Uso
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 dá suporte ao uso de propriedades indexadas, mas não à declaração de propriedades novas.
Parâmetros
- index
Tipo: System. . :: . .Int32
An Int32 value that specifies the position of the ServiceRoute object in the ServiceRouteCollection collection.
Valor da propriedade
Tipo: Microsoft.SqlServer.Management.Smo.Broker. . :: . .ServiceRoute
A ServiceRoute object value that represents the service route.
Consulte também