首页 文章

如何在Powershell中表示DocumentClient的实例化

提问于
浏览
0

很难确定如何在powershell中执行与以下行相同的操作:

(在命名空间Microsoft.Azure.Documents中)

DocumentClient client = new DocumentClient(new Uri(“endpoint”),“authKey”)

数据库database = client.CreateDatabaseQuery() . 其中(d => d.Id ==“collectionName”) . AsEnumerable() . FirstOrDefault()

有人可以帮忙吗? TX

1 回答

相关问题