Udostępnij za pośrednictwem


Właściwość ServiceContractMappingCollection.Item (String)

Pobiera ServiceContractMapping obiektu kolekcja według nazwy.

Przestrzeń nazw:  Microsoft.SqlServer.Management.Smo.Broker
Zestaw:  Microsoft.SqlServer.Smo (w Microsoft.SqlServer.Smo.dll)

Składnia

'Deklaracja
Public ReadOnly Default Property Item ( _
    name As String _
) As ServiceContractMapping
    Get
'Użycie
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
Język JScript obsługuje używanie indeksowanych właściwości, ale nie obsługuje deklarowania nowych.

Parametry

Wartość właściwości

Typ: Microsoft.SqlServer.Management.Smo.Broker.ServiceContractMapping
A ServiceContractMapping wartość obiektu, który reprezentuje typ komunikatu, która jest skojarzona z kontrakt.