Compartir a través de


Item Propiedad (String)

Gets a ServiceContractMapping object in the collection by name.

Espacio de nombres:  Microsoft.SqlServer.Management.Smo.Broker
Ensamblado:  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Sintaxis

'Declaración
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 admite el uso de propiedades indizadas, pero no la declaración de otras nuevas.

Parámetros

Valor de la propiedad

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

Ejemplos

Usar colecciones