Compartilhar via


Propriedade do RDL ServiceContractMappingCollection.Item (String)

Gets a ServiceContractMapping object in the collection by name.

Namespace:  Microsoft.SqlServer.Management.Smo.Broker
Assembly:  Microsoft.SqlServer.Smo (em Microsoft.SqlServer.Smo.dll)

Sintaxe

'Declaração
Public ReadOnly Default Property Item ( _
    name As String _
) As ServiceContractMapping 
    Get
'Uso
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 dá suporte ao uso de propriedades indexadas, mas não à declaração de propriedades novas.

Parâmetros

Valor da propriedade

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

Exemplos

Usando coleções

Consulte também

Referência

ServiceContractMappingCollection Classe

Sobrecarregado Item

Namespace Microsoft.SqlServer.Management.Smo.Broker

Outros recursos

Usando coleções