ScriptCache.TryGetMetadata 메서드

지정된 메타데이터가 성공적으로 검색되었는지 여부를 나타내는 값을 반환합니다.

네임스페이스:  Microsoft.Data.Schema.SchemaModel
어셈블리:  Microsoft.Data.Schema(Microsoft.Data.Schema.dll)

구문

‘선언
Public Overridable Function TryGetMetadata ( _
    cacheIdentifier As String, _
    <OutAttribute> ByRef metadata As IDictionary(Of String, String) _
) As Boolean
public virtual bool TryGetMetadata(
    string cacheIdentifier,
    out IDictionary<string, string> metadata
)
public:
virtual bool TryGetMetadata(
    String^ cacheIdentifier, 
    [OutAttribute] IDictionary<String^, String^>^% metadata
)
abstract TryGetMetadata : 
        cacheIdentifier:string * 
        metadata:IDictionary<string, string> byref -> bool 
override TryGetMetadata : 
        cacheIdentifier:string * 
        metadata:IDictionary<string, string> byref -> bool 
public function TryGetMetadata(
    cacheIdentifier : String, 
    metadata : IDictionary<String, String>
) : boolean

매개 변수

  • cacheIdentifier
    형식: System.String
    캐시 식별자입니다.

반환 값

형식: System.Boolean
메타데이터가 성공적으로 검색되었으면 true이고, 그렇지 않으면 false입니다.

.NET Framework 보안

  • 직접 실행 호출자의 경우 완전히 신뢰합니다. 이 멤버는 부분적으로 신뢰할 수 있는 코드에서 사용할 수 없습니다. 자세한 내용은 부분 신뢰 코드에서 라이브러리 사용을 참조하십시오.

참고 항목

참조

ScriptCache 클래스

Microsoft.Data.Schema.SchemaModel 네임스페이스