BrokerServiceCollection.Item[String] BrokerServiceCollection.Item[String] BrokerServiceCollection.Item[String] Property

Definition

Overloads

Item[Int32] Item[Int32] Item[Int32]

Gets a BrokerService object in the collection by index number.

Item[String] Item[String] Item[String]

Gets a BrokerService object in the collection by name.

Item[Int32] Item[Int32] Item[Int32]

Gets a BrokerService object in the collection by index number.

public:
 property Microsoft::SqlServer::Management::Smo::Broker::BrokerService ^ default[int] { Microsoft::SqlServer::Management::Smo::Broker::BrokerService ^ get(int index); };
public Microsoft.SqlServer.Management.Smo.Broker.BrokerService this[int index] { get; }
Default Public ReadOnly Property Item(index As Integer) As BrokerService
Parameters
index
Int32 Int32 Int32

An Int32 value that specifies the position of the BrokerService object in the BrokerServiceCollection collection.

Property Value

A BrokerService object value that represents the Service Broker service.

Examples

Using Collections

Item[String] Item[String] Item[String]

Gets a BrokerService object in the collection by name.

public:
 property Microsoft::SqlServer::Management::Smo::Broker::BrokerService ^ default[System::String ^] { Microsoft::SqlServer::Management::Smo::Broker::BrokerService ^ get(System::String ^ name); };
public Microsoft.SqlServer.Management.Smo.Broker.BrokerService this[string name] { get; }
Default Public ReadOnly Property Item(name As String) As BrokerService
Parameters
name
String String String

A String value that specifies the name of the BrokerService object in the BrokerServiceCollection collection.

Property Value

A BrokerService object value that represents the Service Broker service.

Examples

Using Collections

Applies to