Share via


PredSourceInfoCollection.Item Property (String)

Gets the PredSourceInfo object with the specified name.

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

Syntax

'Declaration
Public ReadOnly Default Property Item ( _
    name As String _
) As PredSourceInfo 
    Get
'Usage
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 supports the use of indexed properties, but not the declaration of new ones.

Parameters

  • name
    Type: System.String
    A string value that specifies the name.

Property Value

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

See Also

Reference

PredSourceInfoCollection Class

Item Overload

Microsoft.SqlServer.Management.XEvent Namespace