Partager via


Propriété ServiceContractMappingCollection.Item (String)

Gets a ServiceContractMapping object in the collection by name.

Espace de noms :  Microsoft.SqlServer.Management.Smo.Broker
Assembly :  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Syntaxe

'Déclaration
Public ReadOnly Default Property Item ( _
    name As String _
) As ServiceContractMapping 
    Get
'Utilisation
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 prend en charge l'utilisation de propriétés indexées, mais pas la déclaration de nouvelles propriétés.

Paramètres

Valeur de propriété

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

Exemples

Utilisation de collections

Voir aussi

Référence

ServiceContractMappingCollection Classe

Surcharge Item

Espace de noms Microsoft.SqlServer.Management.Smo.Broker

Autres ressources

Utilisation de collections