Compartilhar via


Propriedade do RDL BrokerServiceCollection.Item (Int32)

Gets a BrokerService 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 BrokerService 
    Get
'Uso
Dim instance As BrokerServiceCollection 
Dim index As Integer 
Dim value As BrokerService 

value = instance(index)
public BrokerService this[
    int index
] { get; }
public:
property BrokerService^ default[int index] {
    BrokerService^ get (int index);
}
member Item : BrokerService
JScript dá suporte ao uso de propriedades indexadas, mas não à declaração de propriedades novas.

Parâmetros

Valor da propriedade

Tipo: Microsoft.SqlServer.Management.Smo.Broker.BrokerService
A BrokerService object value that represents the Service Broker service.

Exemplos

Usando coleções

Consulte também

Referência

BrokerServiceCollection Classe

Sobrecarregado Item

Namespace Microsoft.SqlServer.Management.Smo.Broker