Freigeben über


ServiceContractMappingCollection.Item-Eigenschaft (String)

Gets a ServiceContractMapping 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 ServiceContractMapping 
    Get
'Usage
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 unterstützt die Verwendung indizierter Eigenschaften, aber nicht die Deklaration neuer Eigenschaften.

Parameter

Eigenschaftswert

Typ: Microsoft.SqlServer.Management.Smo.Broker.ServiceContractMapping
A ServiceContractMapping object value that represents the message type that is associated with the contract.

Beispiele

Verwenden von Auflistungen

Siehe auch

Verweis

ServiceContractMappingCollection Klasse

Item-Überladung

Microsoft.SqlServer.Management.Smo.Broker-Namespace

Andere Ressourcen

Verwenden von Auflistungen