Compartilhar via


Propriedade do RDL PredSourceInfoCollection.Item (String)

Gets the PredSourceInfo object with the specified name.

Namespace:  Microsoft.SqlServer.Management.XEvent
Assembly:  Microsoft.SqlServer.Management.XEvent (em Microsoft.SqlServer.Management.XEvent.dll)

Sintaxe

'Declaração
Public ReadOnly Default Property Item ( _
    name As String _
) As PredSourceInfo 
    Get
'Uso
Dim instance As PredSourceInfoCollection 
Dim name As String 
Dim value As PredSourceInfo 

value = instance(name)
public PredSourceInfo this[
    string name
] { get; }
public:
virtual property PredSourceInfo^ default[String^ name] {
    PredSourceInfo^ get (String^ name) sealed;
}
abstract Item : PredSourceInfo 
override Item : PredSourceInfo
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.

Valor da propriedade

Tipo: Microsoft.SqlServer.Management.XEvent.PredSourceInfo
The PredSourceInfo object with the specified name.

Consulte também

Referência

PredSourceInfoCollection Classe

Sobrecarregado Item

Namespace Microsoft.SqlServer.Management.XEvent