PublishedEvent.FieldList.TryGetValue(String, PublishedEventField) 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
지정한 키와 연결된 값을 가져옵니다.
public:
bool TryGetValue(System::String ^ fieldName, [Runtime::InteropServices::Out] Microsoft::SqlServer::XEvent::Linq::PublishedEventField ^ % value);
public bool TryGetValue (string fieldName, out Microsoft.SqlServer.XEvent.Linq.PublishedEventField value);
member this.TryGetValue : string * PublishedEventField -> bool
Public Function TryGetValue (fieldName As String, ByRef value As PublishedEventField) As Boolean
매개 변수
- fieldName
- String
검색할 필드 이름입니다.
- value
- PublishedEventField
이 메서드가 반환될 때 지정한 키가 있는 경우 해당 키와 연결된 필드를 포함합니다. 그렇지 않으면 값 매개 변수 형식의 기본 값을 포함합니다. 이 매개 변수는 초기화되지 않은 상태로 전달됩니다.
반환
이벤트에 지정한 열을 가진 필드가 포함되면 true
이고, 그렇지 않으면 false
입니다.