You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/purview/quickstart-data-share-dotnet.md
+8-8Lines changed: 8 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -65,7 +65,7 @@ Next, create a C# .NET console application in Visual Studio:
65
65
The below code will create a data share that you can send to internal or external users.
66
66
To use it, be sure to fill out these variables:
67
67
68
-
- **endpoint** - "https://<my-account-name>.purview.azure.com/share". Replace **\<my-account-name>** with the name of your Microsoft Purview instance
68
+
- **endpoint** - "https://\<my-account-name>.purview.azure.com/share". Replace **\<my-account-name>** with the name of your Microsoft Purview instance
69
69
- **sentShareName** - a name for your new data share
70
70
- **description** - an optional description for your data share
71
71
- **collectionName** - the name of the collection where your share will be housed.
@@ -117,7 +117,7 @@ var sentShare = await sentShareClient.CreateOrUpdateAsync(sentShareName, Request
117
117
The below code will add a data asset to a share you're sending.
118
118
To use it, be sure to fill out these variables:
119
119
120
-
-**endpoint** - "https://<my-account-name>.purview.azure.com/share". Replace **\<my-account-name>** with the name of your Microsoft Purview instance
120
+
-**endpoint** - "https://\<my-account-name>.purview.azure.com/share". Replace **\<my-account-name>** with the name of your Microsoft Purview instance
121
121
-**sentShareName** - the name of the data share where you'll add the asset
122
122
-**assetName** - a name for the asset you'll be adding
123
123
-**senderStorageResourceId** - the [resource ID for the storage account](../storage/common/storage-account-get-info.md#get-the-resource-id-for-a-storage-account) where the data asset is stored
The below code will send an invitation to a data share.
168
168
To use it, be sure to fill out these variables:
169
169
170
-
-**endpoint** - "https://<my-account-name>.purview.azure.com/share". Replace **\<my-account-name>** with the name of your Microsoft Purview instance
170
+
-**endpoint** - "https://\<my-account-name>.purview.azure.com/share". Replace **\<my-account-name>** with the name of your Microsoft Purview instance
171
171
-**sentShareName** - the name of the data share you're sending
172
172
-**assetName** - a name for your invitation
173
173
-**targetEmail** or **targetActiveDirectoryId and targetObjectId** - the email address **or** objectId and tenantId for the user or service principal that will receive the data share. TenantId is optional.
@@ -255,7 +255,7 @@ var receivedInvitations = receivedInvitationsClient.GetReceivedInvitations();
255
255
The below code will allow you to receive a data share.
256
256
To use it, be sure to fill out these variables:
257
257
258
-
-**endpoint** - "https://<my-account-name>.purview.azure.com/share". Replace **\<my-account-name>** with the name of your Microsoft Purview instance
258
+
-**endpoint** - "https://\<my-account-name>.purview.azure.com/share". Replace **\<my-account-name>** with the name of your Microsoft Purview instance
259
259
-**receivedShareName** - a name for the share that is being received
260
260
-**sentShareLocation** - the region where the share is housed. It should be the same region as the sent share and will be one of [Microsoft Purview's available regions](https://azure.microsoft.com/global-infrastructure/services/?products=purview®ions=all).
261
261
-**collectionName** - the name of the collection where your share will be housed.
@@ -322,7 +322,7 @@ var receivedShare = await receivedShareClient.CreateAsync(receivedShareName, Req
322
322
The below code will allow you to view your accepted shares.
323
323
To use it, be sure to fill out these variables:
324
324
325
-
-**endpoint** - "https://<my-account-name>.purview.azure.com/share". Replace **\<my-account-name>** with the name of your Microsoft Purview instance
325
+
-**endpoint** - "https://\<my-account-name>.purview.azure.com/share". Replace **\<my-account-name>** with the name of your Microsoft Purview instance
326
326
-**sentShareName** - the name of the share you would like to view
0 commit comments