Share via


ScriptCache.TryGetMetadata Method

Returns a value that indicates whether retrieval of the specified metadata was successful.

Namespace:  Microsoft.Data.Schema.SchemaModel
Assembly:  Microsoft.Data.Schema (in Microsoft.Data.Schema.dll)

Syntax

'Declaration
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

Parameters

Return Value

Type: System.Boolean
true if the metadata was successfully retrieved; otherwise, false.

.NET Framework Security

See Also

Reference

ScriptCache Class

Microsoft.Data.Schema.SchemaModel Namespace