BrokerPriorityCollection.Item Property (String)
Gets a BrokerPriority object in the collection by name.
Namespace: Microsoft.SqlServer.Management.Smo.Broker
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
Public ReadOnly Default Property Item ( _
name As String _
) As BrokerPriority
Get
'Usage
Dim instance As BrokerPriorityCollection
Dim name As String
Dim value As BrokerPriority
value = instance(name)
public BrokerPriority this[
string name
] { get; }
public:
property BrokerPriority^ default[String^ name] {
BrokerPriority^ get (String^ name);
}
member Item : BrokerPriority
JScript supports the use of indexed properties, but not the declaration of new ones.
Parameters
- name
Type: System.String
A String value that specifies the name of the BrokerPriority object in the BrokerPriorityCollection collection.
Property Value
Type: Microsoft.SqlServer.Management.Smo.Broker.BrokerPriority
A BrokerPriority object value that represents the conversation priority.