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
- cacheIdentifier
Type: System.String
The cache identifier.
- metadata
Type: System.Collections.Generic.IDictionary<String, String>%
(Output) The retrieved metadata.
Return Value
Type: System.Boolean
true if the metadata was successfully retrieved; otherwise, false.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.