Compartir a través de


BrokerServiceCollection.ItemById Método

Extracts a member from the BrokerServiceCollection collection using a system-defined, unique identifier.

Espacio de nombres:  Microsoft.SqlServer.Management.Smo.Broker
Ensamblado:  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Sintaxis

'Declaración
Public Function ItemById ( _
    id As Integer _
) As BrokerService
'Uso
Dim instance As BrokerServiceCollection 
Dim id As Integer 
Dim returnValue As BrokerService 

returnValue = instance.ItemById(id)
public BrokerService ItemById(
    int id
)
public:
BrokerService^ ItemById(
    int id
)
member ItemById : 
        id:int -> BrokerService
public function ItemById(
    id : int
) : BrokerService

Parámetros

Valor devuelto

Tipo: Microsoft.SqlServer.Management.Smo.Broker.BrokerService
A BrokerService object that has the specified ID value.

Ejemplos

Usar colecciones

Vea también

Referencia

BrokerServiceCollection Clase

Espacio de nombres Microsoft.SqlServer.Management.Smo.Broker