XEStore.ObjectMetadata.GetAll<T> 方法
Returns a collection of the IXEObjectInfo matching the given package name.
命名空間: Microsoft.SqlServer.Management.XEvent
組件: Microsoft.SqlServer.Management.XEvent (在 Microsoft.SqlServer.Management.XEvent.dll 中)
語法
'宣告
Public Function GetAll(Of T As {SfcInstance, IXEObjectInfo}) ( _
name As String _
) As ICollection(Of T)
'用途
Dim instance As XEStore.ObjectMetadata
Dim name As String
Dim returnValue As ICollection(Of T)
returnValue = instance.GetAll(name)
public ICollection<T> GetAll<T>(
string name
)
where T : SfcInstance, IXEObjectInfo
public:
generic<typename T>
where T : SfcInstance, IXEObjectInfo
ICollection<T>^ GetAll(
String^ name
)
member GetAll :
name:string -> ICollection<'T> when 'T : SfcInstance and IXEObjectInfo
JScript 不支援一般類型和方法。
型別參數
- T
The type of the object to return.
參數
- name
型別:System.String
The name containing the following formatted parts: [module_guid].package_name.object_name; where the first two parts are optional.
傳回值
型別:System.Collections.Generic.ICollection<T>
The collection of the IXEObjectInfo matching the given name.