你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
StorageCloudBlobCmdletBase.SetDatalakegen2ItemMetaData Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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