简体   繁体   English

获取azure存储表字段类型

[英]Get azure storage table field type

I am retriving coudTable like this我正在像这样检索 coudTable

$cloudTable = (Get-AzStorageTable –Name devAuctioneersCustomers –Context $ctx).CloudTable

and rows和行

$Rows = Get-AzTableRow -table $cloudTable

and I have all data, but how to get edm type of every field?我有所有数据,但是如何获取每个字段的 edm 类型? I need this since I want to copy that table and there are not any tools in azure for this.我需要这个,因为我想复制该表,并且 azure 中没有任何工具用于此。

You can just simply use .GetType() method on each column.您可以简单地在每一列上使用.GetType()方法。

Here is the test at my side:这是我身边的测试:

在此处输入图像描述

And if you want to copy table to another table, you can use AzCopy version 7.3 .如果要将表复制到另一个表,可以使用AzCopy version 7.3 See the Note in this section .请参阅本中的注释

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM