Proprietà Item (String)
Gets a ServiceContractMapping object in the collection by name.
Spazio dei nomi Microsoft.SqlServer.Management.Smo.Broker
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Sintassi
'Dichiarazione
Public ReadOnly Default Property Item ( _
name As String _
) As ServiceContractMapping
Get
'Utilizzo
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 supporta l'utilizzo di proprietà indicizzate, ma non la dichiarazione di nuove proprietà.
Parametri
- name
Tipo: System. . :: . .String
A String value that specifies the name of the ServiceContractMapping object in the ServiceContractMappingCollection collection.
Valore proprietà
Tipo: Microsoft.SqlServer.Management.Smo.Broker. . :: . .ServiceContractMapping
A ServiceContractMapping object value that represents the message type that is associated with the contract.
Vedere anche