@@ -64,11 +64,11 @@ Next, create a C# .NET console application in Visual Studio:
64
64
## Install NuGet packages
65
65
66
66
1 . Select ** Tools** > ** NuGet Package Manager** > ** Package Manager Console** .
67
- 1 . In the ** Package Manage Console** run the .NET cli add package command shown on this page to add the NuGet package: [ Microsoft.Azure.Analytics.Purview.Share NuGet package] ( https://www.nuget.org/packages/Azure.Analytics.Purview.Share/2.0.0-beta.x ) .
67
+ 1 . In the ** Package Manage Console** run the .NET cli add package command shown on this page to add the NuGet package: [ Microsoft.Azure.Analytics.Purview.Sharing NuGet package] ( https://www.nuget.org/packages/Azure.Analytics.Purview.Sharing ) .
68
68
1 . In the ** Package Manager Console** pane, run the following commands to install packages.
69
69
70
70
``` powershell
71
- Install-Package Azure.Analytics.Purview.Share -IncludePrerelease
71
+ Install-Package Azure.Analytics.Purview.Sharing -IncludePrerelease
72
72
Install-Package Azure.Identity
73
73
```
74
74
@@ -96,15 +96,15 @@ To use it, be sure to fill out these variables:
96
96
97
97
```C# Snippet:Azure_Analytics_Purview_Share_Samples_01_Namespaces
98
98
using Azure;
99
- using Azure.Analytics.Purview.Share ;
99
+ using Azure.Analytics.Purview.Sharing ;
100
100
using Azure.Core;
101
101
using Azure.Identity;
102
102
using System.ComponentModel;
103
103
104
104
public static class PurviewDataSharingQuickStart
105
105
{
106
106
// [REQUIRED INPUTS] Set To Actual Values.
107
- private static string SenderTenantId = "<Sender Indentity 's Tenant ID>";
107
+ private static string SenderTenantId = "<Sender Identity 's Tenant ID>";
108
108
private static string SenderPurviewAccountName = "<Sender Purview Account Name>";
109
109
110
110
private static string ShareName = "<Share Display Name>";
@@ -193,7 +193,7 @@ public static class PurviewDataSharingQuickStart
193
193
},
194
194
};
195
195
196
- Operation<BinaryData> sentShare = await sentSharesClient.CreateSentShareAsync (WaitUntil.Completed, SentShareId, RequestContent.Create(inPlaceSentShareDto));
196
+ Operation<BinaryData> sentShare = await sentSharesClient.CreateOrReplaceSentShareAsync (WaitUntil.Completed, SentShareId, RequestContent.Create(inPlaceSentShareDto));
197
197
Console.ForegroundColor = ConsoleColor.Green;
198
198
Console.WriteLine(sentShare.Value);
199
199
Console.ForegroundColor = Console.ForegroundColor;
@@ -219,7 +219,7 @@ To use it, be sure to fill out these variables:
219
219
220
220
``` C# Snippet:Azure_Analytics_Purview_Share_Samples_01_Namespaces
221
221
using Azure ;
222
- using Azure .Analytics .Purview .Share ;
222
+ using Azure .Analytics .Purview .Sharing ;
223
223
using Azure .Core ;
224
224
using Azure .Identity ;
225
225
using System .ComponentModel ;
@@ -350,7 +350,7 @@ To use it, be sure to fill out these variables:
350
350
351
351
``` C# Snippet:Azure_Analytics_Purview_Share_Samples_01_Namespaces
352
352
using Azure ;
353
- using Azure .Analytics .Purview .Share ;
353
+ using Azure .Analytics .Purview .Sharing ;
354
354
using Azure .Core ;
355
355
using Azure .Identity ;
356
356
using System .ComponentModel ;
@@ -474,7 +474,7 @@ To use it, be sure to fill out these variables:
474
474
475
475
``` C# Snippet:Azure_Analytics_Purview_Share_Samples_01_Namespaces
476
476
using Azure ;
477
- using Azure .Analytics .Purview .Share ;
477
+ using Azure .Analytics .Purview .Sharing ;
478
478
using Azure .Core ;
479
479
using Azure .Identity ;
480
480
@@ -546,7 +546,7 @@ To use it, be sure to fill out these variables:
546
546
547
547
``` C# Snippet:Azure_Analytics_Purview_Share_Samples_01_Namespaces
548
548
using Azure ;
549
- using Azure .Analytics .Purview .Share ;
549
+ using Azure .Analytics .Purview .Sharing ;
550
550
using Azure .Core ;
551
551
using Azure .Identity ;
552
552
using System .Text .Json ;
@@ -635,7 +635,7 @@ To use it, be sure to fill out these variables:
635
635
636
636
``` C# Snippet:Azure_Analytics_Purview_Share_Samples_01_Namespaces
637
637
using Azure ;
638
- using Azure .Analytics .Purview .Share ;
638
+ using Azure .Analytics .Purview .Sharing ;
639
639
using Azure .Core ;
640
640
using Azure .Identity ;
641
641
using System .Text .Json ;
@@ -737,7 +737,7 @@ To use it, be sure to fill out these variables:
737
737
738
738
``` C# Snippet:Azure_Analytics_Purview_Share_Samples_01_Namespaces
739
739
using Azure ;
740
- using Azure .Analytics .Purview .Share ;
740
+ using Azure .Analytics .Purview .Sharing ;
741
741
using Azure .Core ;
742
742
using Azure .Identity ;
743
743
using System .Text .Json ;
@@ -832,7 +832,7 @@ To use it, be sure to fill out these variables:
832
832
833
833
``` C# Snippet:Azure_Analytics_Purview_Share_Samples_01_Namespaces
834
834
using Azure ;
835
- using Azure .Analytics .Purview .Share ;
835
+ using Azure .Analytics .Purview .Sharing ;
836
836
using Azure .Core ;
837
837
using Azure .Identity ;
838
838
using System .ComponentModel ;
@@ -941,7 +941,7 @@ public static class PurviewDataSharingQuickStart
941
941
}
942
942
};
943
943
944
- var receivedShare = await receivedSharesClient .CreateOrUpdateReceivedShareAsync (WaitUntil .Completed , ReceivedShareId , RequestContent .Create (attachedReceivedShareData ));
944
+ var receivedShare = await receivedSharesClient .CreateOrReplaceReceivedShareAsync (WaitUntil .Completed , ReceivedShareId , RequestContent .Create (attachedReceivedShareData ));
945
945
946
946
Console .ForegroundColor = ConsoleColor .Green ;
947
947
Console .WriteLine (receivedShare .Value );
@@ -978,7 +978,7 @@ To use it, be sure to fill out these variables:
978
978
979
979
``` C# Snippet:Azure_Analytics_Purview_Share_Samples_01_Namespaces
980
980
using Azure ;
981
- using Azure .Analytics .Purview .Share ;
981
+ using Azure .Analytics .Purview .Sharing ;
982
982
using Azure .Core ;
983
983
using Azure .Identity ;
984
984
@@ -1054,7 +1054,7 @@ To use it, be sure to fill out these variables:
1054
1054
1055
1055
``` C# Snippet:Azure_Analytics_Purview_Share_Samples_01_Namespaces
1056
1056
using Azure ;
1057
- using Azure .Analytics .Purview .Share ;
1057
+ using Azure .Analytics .Purview .Sharing ;
1058
1058
using Azure .Core ;
1059
1059
using Azure .Identity ;
1060
1060
using System .ComponentModel ;
@@ -1155,7 +1155,7 @@ public static class PurviewDataSharingQuickStart
1155
1155
1156
1156
var ReceivedShareId = JsonDocument .Parse (myReceivedShare ).RootElement .GetProperty (" id" ).ToString ();
1157
1157
1158
- var receivedShare = await receivedSharesClient .CreateOrUpdateReceivedShareAsync (WaitUntil .Completed , ReceivedShareId , RequestContent .Create (attachedReceivedShareData ));
1158
+ var receivedShare = await receivedSharesClient .CreateOrReplaceReceivedShareAsync (WaitUntil .Completed , ReceivedShareId , RequestContent .Create (attachedReceivedShareData ));
1159
1159
1160
1160
Console .ForegroundColor = ConsoleColor .Green ;
1161
1161
Console .WriteLine (receivedShare .Value );
@@ -1193,7 +1193,7 @@ To use it, be sure to fill out these variables:
1193
1193
1194
1194
``` C# Snippet:Azure_Analytics_Purview_Share_Samples_01_Namespaces
1195
1195
using Azure ;
1196
- using Azure .Analytics .Purview .Share ;
1196
+ using Azure .Analytics .Purview .Sharing ;
1197
1197
using Azure .Core ;
1198
1198
using Azure .Identity ;
1199
1199
using System .Text .Json ;
0 commit comments