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: powerapps-docs/developer/common-data-service/org-service/quick-start-org-service-console-app.md
+7-7Lines changed: 7 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
---
2
-
title: "Quick Start: Organization service sample (C#) (Common Data Service) | Microsoft Docs"# Intent and product brand in a unique string of 43-59 chars including spaces
3
-
description: "This quick start will show you how to connect to the organization service of the Common Data Service"# 115-145 characters including spaces. This abstract displays in the search result.
2
+
title: "Quickstart: Organization service sample (C#) (Common Data Service) | Microsoft Docs"# Intent and product brand in a unique string of 43-59 chars including spaces
3
+
description: "This quickstart will show you how to connect to the organization service of the Common Data Service"# 115-145 characters including spaces. This abstract displays in the search result.
4
4
ms.custom: ""
5
5
ms.date: 04/25/2019
6
6
ms.reviewer: "pehecke"
@@ -15,16 +15,16 @@ search.app:
15
15
- PowerApps
16
16
- D365CE
17
17
---
18
-
# Quick Start: Organization service sample (C#)
18
+
# Quickstart: Organization service sample (C#)
19
19
20
20
This is where you begin working with the .NET SDK assemblies to work with data using Common Data Service.
21
21
22
-
In this quick start you will create a minimum console application to connect to the Organization service using the <xref:Microsoft.Xrm.Tooling.Connector.CrmServiceClient> class. You will pass your connection information using a connection string passed to the constructor.
22
+
In this quickstart, you will create a minimum console application to connect to the Organization service using the <xref:Microsoft.Xrm.Tooling.Connector.CrmServiceClient> class. You will pass your connection information using a connection string passed to the constructor.
23
23
24
24
You will use the <xref:Microsoft.Xrm.Sdk.IOrganizationService>.<xref:Microsoft.Xrm.Sdk.IOrganizationService.Execute*> method passing an instance of the <xref:Microsoft.Crm.Sdk.Messages.WhoAmIRequest> class, and you will display the <xref:Microsoft.Crm.Sdk.Messages.WhoAmIResponse>.<xref:Microsoft.Crm.Sdk.Messages.WhoAmIResponse.UserId> value.
25
25
26
26
> [!NOTE]
27
-
> This quick start example does not include error handling. This is a minimum example of what you need to connect to and use the Organization service.
27
+
> This quickstart example does not include error handling. This is a minimum example of what you need to connect to and use the Organization service.
28
28
29
29
30
30
## Prerequisites
@@ -66,7 +66,7 @@ You will use the <xref:Microsoft.Xrm.Sdk.IOrganizationService>.<xref:Microsoft.X
66
66
usingMicrosoft.Xrm.Tooling.Connector;
67
67
```
68
68
69
-
1. Replacethe `Main` methodwiththefollowingcode. Thesupportedvaluesfor *AuthType* are listed in [Connection string paramters](/dynamics365/customer-engagement/developer/xrm-tooling/use-connection-strings-xrm-tooling-connect#connection-string-parameters).
69
+
1. Replacethe `Main` methodwiththefollowingcode. Thesupportedvaluesfor *AuthType* are listed in [Connection string parameters](/dynamics365/customerengagement/developer/xrm-tooling/use-connection-strings-xrm-tooling-connect#connection-string-parameters).
70
70
71
71
```csharp
72
72
staticvoidMain(string[] args)
@@ -127,7 +127,7 @@ You have successfully connected to the organization service.
0 commit comments