Propriedade do RDL ServiceRouteCollection.Item (String)
Gets a ServiceRoute 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 ServiceRoute
Get
'Uso
Dim instance As ServiceRouteCollection
Dim name As String
Dim value As ServiceRoute
value = instance(name)
public ServiceRoute this[
string name
] { get; }
public:
property ServiceRoute^ default[String^ name] {
ServiceRoute^ get (String^ name);
}
member Item : ServiceRoute
JScript dá suporte ao uso de propriedades indexadas, mas não à declaração de propriedades novas.
Parâmetros
- name
Tipo: System.String
A String value that specifies the name of the ServiceRoute object in the ServiceRouteCollection collection.
Valor da propriedade
Tipo: Microsoft.SqlServer.Management.Smo.Broker.ServiceRoute
A ServiceRoute object value that represents the service route.
Exemplos
Consulte também
Referência
Namespace Microsoft.SqlServer.Management.Smo.Broker