Skip to content

Commit d5123d1

Browse files
Merge pull request #2534 from MicrosoftDocs/main638742675057101555sync_temp
For protected branch, push strategy should use PR and merge to target branch method to work around git push error
2 parents eb7927e + 629320f commit d5123d1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

data-explorer/kusto/api/netfx/kusto-language-define-schemas.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,9 +97,9 @@ For more examples, see [SymbolLoader](https://github.com/mattwar/Kusto.Toolkit/b
9797

9898
```csharp
9999
// Option 1: Add the cluster as the default with a specified default database.
100-
var globalsWithMyDefaultCluster = GlobalState.Globals.WithCluster(mycluster).WithDatabase(mydb);
100+
var globalsWithMyDefaultCluster = GlobalState.Default.WithCluster(mycluster).WithDatabase(mydb);
101101
// Option 2: Add the cluster to the list of known clusters.
102-
var globalsWithMyClusterAdded = GlobalState.Globals.AddOrReplaceCluster(mycluster);
102+
var globalsWithMyClusterAdded = GlobalState.Default.AddOrReplaceCluster(mycluster);
103103
```
104104

105105
1. Use the relevant globals in the `ParseAndAnalyze` method to [parse a query with semantic analysis](kusto-language-parse-queries.md#parse-a-query-with-semantic-analysis).

0 commit comments

Comments
 (0)