Proprietà ServiceQueueCollection.Item (String)
Gets a ServiceQueue object in the collection by name.
Spazio dei nomi Microsoft.SqlServer.Management.Smo.Broker
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Sintassi
'Dichiarazione
Public ReadOnly Default Property Item ( _
name As String _
) As ServiceQueue
Get
'Utilizzo
Dim instance As ServiceQueueCollection
Dim name As String
Dim value As ServiceQueue
value = instance(name)
public ServiceQueue this[
string name
] { get; }
public:
property ServiceQueue^ default[String^ name] {
ServiceQueue^ get (String^ name);
}
member Item : ServiceQueue
JScript supporta l'utilizzo di proprietà indicizzate, ma non la dichiarazione di nuove proprietà.
Parametri
- name
Tipo: System.String
A String value that specifies the name of the ServiceQueue object in the ServiceQueueCollection collection.
Valore proprietà
Tipo: Microsoft.SqlServer.Management.Smo.Broker.ServiceQueue
A ServiceQueue object value that represents the service queue.
Esempi
Vedere anche
Riferimento
Spazio dei nomi Microsoft.SqlServer.Management.Smo.Broker