Propriété Item (Int32)
Gets a BrokerService object in the collection by index number.
Espace de noms : Microsoft.SqlServer.Management.Smo.Broker
Assembly : Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)
Syntaxe
'Déclaration
Public ReadOnly Default Property Item ( _
index As Integer _
) As BrokerService
Get
'Utilisation
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 prend en charge l'utilisation de propriétés indexées, mais pas la déclaration de nouvelles propriétés.
Paramètres
- index
Type : System. . :: . .Int32
An Int32 value that specifies the position of the BrokerService object in the BrokerServiceCollection collection.
Valeur de propriété
Type : Microsoft.SqlServer.Management.Smo.Broker. . :: . .BrokerService
A BrokerService object value that represents the Service Broker service.