Propriedade Item (String)
Gets a ServiceQueue object in the collection by name.
Namespace: Microsoft.SqlServer.Management.Smo.Broker
Assembly: Microsoft.SqlServer.Smo (em Microsoft.SqlServer.Smo.dll)
Sintaxe
'Declaração
Public ReadOnly Default Property Item ( _
name As String _
) As ServiceQueue
Get
'Uso
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 dá suporte ao uso de propriedades indexadas, mas não à declaração de propriedades novas.
Parâmetros
- name
Tipo: System. . :: . .String
A String value that specifies the name of the ServiceQueue object in the ServiceQueueCollection collection.
Valor da propriedade
Tipo: Microsoft.SqlServer.Management.Smo.Broker. . :: . .ServiceQueue
A ServiceQueue object value that represents the service queue.
Consulte também