Свойство Item (String)
Gets a ServiceContractMapping 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 ServiceContractMapping
Get
'Применение
Dim instance As ServiceContractMappingCollection
Dim name As String
Dim value As ServiceContractMapping
value = instance(name)
public ServiceContractMapping this[
string name
] { get; }
public:
property ServiceContractMapping^ default[String^ name] {
ServiceContractMapping^ get (String^ name);
}
member Item : ServiceContractMapping
JScript поддерживает использование индексированных свойств, но не объявление новых.
Параметры
- name
Тип System. . :: . .String
A String value that specifies the name of the ServiceContractMapping object in the ServiceContractMappingCollection collection.
Значение свойства
Тип Microsoft.SqlServer.Management.Smo.Broker. . :: . .ServiceContractMapping
A ServiceContractMapping object value that represents the message type that is associated with the contract.