Proprietà ServiceQueueCollection.Item (String, String)
Gets a ServiceQueue object in the collection by name and schema.
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, _
schema As String _
) As ServiceQueue
Get
'Utilizzo
Dim instance As ServiceQueueCollection
Dim name As String
Dim schema As String
Dim value As ServiceQueue
value = instance(name, schema)
public ServiceQueue this[
string name,
string schema
] { get; }
public:
property ServiceQueue^ default[String^ name, String^ schema] {
ServiceQueue^ get (String^ name, String^ schema);
}
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.
- schema
Tipo: System.String
A String value that specifies the schema 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