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
- name
Typ: System.String
A String wartość, która określa nazwę ServiceContractMapping obiekt w ServiceContractMappingCollection kolekcja.
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.
Zobacz także