BaseXEStore.ObjectMetadata.GetAll 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
오버로드
| Name | Description |
|---|---|
| GetAll<T>(String) |
지정된 이름과 일치하는 모든 IXEObjectInfo 컬렉션을 반환합니다. |
| GetAll<T>(String, String) |
지정된 패키지 이름, 개체 이름과 일치하는 컬렉션을 IXEObjectInfo 반환합니다. |
GetAll<T>(String)
지정된 이름과 일치하는 모든 IXEObjectInfo 컬렉션을 반환합니다.
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)
형식 매개 변수
- T
열거할 개체의 형식입니다.
매개 변수
- name
- String
format: package_name.object_name; NB: 이름의 첫 번째 부분은 선택 사항입니다.
반품
ICollection<T>
지정된 이름과 일치하는 모든 IXEObjectInfo 컬렉션입니다.
예외
제공된 이름이 null이면 입니다.
적용 대상
GetAll<T>(String, String)
지정된 패키지 이름, 개체 이름과 일치하는 컬렉션을 IXEObjectInfo 반환합니다.
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)
형식 매개 변수
- T
열거할 개체의 형식입니다.
매개 변수
- pkgName
- String
패키지 이름입니다.
- objName
- String
개체 이름입니다.
반품
ICollection<T>
지정된 패키지 이름, 개체 이름과 일치하는 컬렉션 IXEObjectInfo 입니다.