Share via


StorageCloudBlobCmdletBase.SetDatalakegen2ItemMetaData Method

Definition

Set Metadata to a datalake gen2 item

protected static System.Collections.Generic.IDictionary<string,string> SetDatalakegen2ItemMetaData (Azure.Storage.Files.DataLake.DataLakePathClient item, System.Collections.Hashtable Metadata, bool setToServer = true);
static member SetDatalakegen2ItemMetaData : Azure.Storage.Files.DataLake.DataLakePathClient * System.Collections.Hashtable * bool -> System.Collections.Generic.IDictionary<string, string>
Protected Shared Function SetDatalakegen2ItemMetaData (item As DataLakePathClient, Metadata As Hashtable, Optional setToServer As Boolean = true) As IDictionary(Of String, String)

Parameters

item
DataLakePathClient

datalake gen2 item

Metadata
Hashtable

Metadata to set

setToServer
Boolean

True will set to server, false only set to the local Datalakegen2Item object

Returns

Applies to