fix: Replace generic "syntax" with language code

This commit is contained in:
Nick Schonning
2019-07-14 00:51:46 -04:00
parent 142f44d70f
commit 04fcf4d3a2
50 changed files with 379 additions and 388 deletions

View File

@ -173,7 +173,7 @@ Here is an example return value:
### Get access token
The following code example demonstrates how to obtain an access token and call the Microsoft Defender ATP API.
```syntax
```csharp
AuthenticationContext context = new AuthenticationContext(string.Format("https://login.windows.net/{0}/oauth2", tenantId));
ClientCredential clientCredentials = new ClientCredential(clientId, clientSecret);
AuthenticationResult authenticationResult = context.AcquireToken(resource, clientCredentials);