Share via


BaseXEStore.ObjectMetadata.GetAll Method

Definition

Overloads

GetAll<T>(String)

Returns a collection of all the IXEObjectInfo matching the given name.

GetAll<T>(String, String)

Returns a collection of the IXEObjectInfo matching the given package name, object name.

GetAll<T>(String)

Returns a collection of all the IXEObjectInfo matching the given name.

public System.Collections.Generic.ICollection<T> GetAll<T> (string name) where T : Microsoft.SqlServer.Management.Sdk.Sfc.SfcInstance, Microsoft.SqlServer.Management.XEvent.IXEObjectInfo;
member this.GetAll : string -> System.Collections.Generic.ICollection<'T (requires 'T :> Microsoft.SqlServer.Management.Sdk.Sfc.SfcInstance and 'T :> Microsoft.SqlServer.Management.XEvent.IXEObjectInfo)> (requires 'T :> Microsoft.SqlServer.Management.Sdk.Sfc.SfcInstance and 'T :> Microsoft.SqlServer.Management.XEvent.IXEObjectInfo)
Public Function GetAll(Of T As {SfcInstance, IXEObjectInfo}) (name As String) As ICollection(Of T)

Type Parameters

T

Type of object to enumerate.

Parameters

name
String

format: package_name.object_name; NB: the first part of the name is optional

Returns

A collection of all the IXEObjectInfo matching the given name.

Exceptions

if the name provided is null.

Applies to

GetAll<T>(String, String)

Returns a collection of the IXEObjectInfo matching the given package name, object name.

public System.Collections.Generic.ICollection<T> GetAll<T> (string pkgName, string objName) where T : Microsoft.SqlServer.Management.Sdk.Sfc.SfcInstance, Microsoft.SqlServer.Management.XEvent.IXEObjectInfo;
member this.GetAll : string * string -> System.Collections.Generic.ICollection<'T (requires 'T :> Microsoft.SqlServer.Management.Sdk.Sfc.SfcInstance and 'T :> Microsoft.SqlServer.Management.XEvent.IXEObjectInfo)> (requires 'T :> Microsoft.SqlServer.Management.Sdk.Sfc.SfcInstance and 'T :> Microsoft.SqlServer.Management.XEvent.IXEObjectInfo)
Public Function GetAll(Of T As {SfcInstance, IXEObjectInfo}) (pkgName As String, objName As String) As ICollection(Of T)

Type Parameters

T

Type of object to enumerate.

Parameters

pkgName
String

Package name.

objName
String

Object name.

Returns

A collection of the IXEObjectInfo matching the given package name, object name.

Applies to