다음을 통해 공유


TargetCollection.Item 속성 (String)

Gets the Target object with the specified name.

네임스페이스:  Microsoft.SqlServer.Management.XEvent
어셈블리:  Microsoft.SqlServer.Management.XEvent(Microsoft.SqlServer.Management.XEvent.dll)

구문

‘선언
Public ReadOnly Default Property Item ( _
    name As String _
) As Target 
    Get
‘사용 방법
Dim instance As TargetCollection 
Dim name As String 
Dim value As Target 

value = instance(name)
public Target this[
    string name
] { get; }
public:
property Target^ default[String^ name] {
    Target^ get (String^ name);
}
member Item : Target
Jscript는 인덱싱된 속성의 사용을 지원하지만 새로운 인덱싱된 속성 선언은 지원하지 않습니다.

매개 변수

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

속성 값

유형: Microsoft.SqlServer.Management.XEvent.Target
The Target object with the specified name

참고 항목

참조

TargetCollection 클래스

Item 오버로드

Microsoft.SqlServer.Management.XEvent 네임스페이스