Свойство Item (String)
Gets a MessageType object in the collection by name.
Пространство имен: Microsoft.SqlServer.Management.Smo.Broker
Сборка: Microsoft.SqlServer.Smo (в Microsoft.SqlServer.Smo.dll)
Синтаксис
'Декларация
Public ReadOnly Default Property Item ( _
name As String _
) As MessageType
Get
'Применение
Dim instance As MessageTypeCollection
Dim name As String
Dim value As MessageType
value = instance(name)
public MessageType this[
string name
] { get; }
public:
property MessageType^ default[String^ name] {
MessageType^ get (String^ name);
}
member Item : MessageType
JScript поддерживает использование индексированных свойств, но не объявление новых.
Параметры
- name
Тип: System. . :: . .String
A String value that specifies the name of the MessageType object in the MessageTypeCollection collection.
Значение свойства
Тип: Microsoft.SqlServer.Management.Smo.Broker. . :: . .MessageType
A MessageType object value that represents the message type.
См. также