Skip to content

Commit af80aa7

Browse files
Merge pull request #117194 from ArturAdam/patch-1
Update authorize-oauth-rest.md
2 parents 150e92e + 647de53 commit af80aa7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

articles/storage/files/authorize-oauth-rest.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ namespace FilesOAuthSample
108108
string aadEndpoint = "";
109109
string accountUri = "";
110110
string connectionString = "";
111-
string shareName = "testShare";
111+
string shareName = "test-share";
112112
string directoryName = "testDirectory";
113113
string fileName = "testFile";
114114
@@ -124,11 +124,11 @@ namespace FilesOAuthSample
124124
AuthorityHost = new Uri(aadEndpoint)
125125
});
126126
127-
ShareClientOptions clientOptions = new ShareClientOptions(ShareClientOptions.ServiceVersion.V2021_12_02);
127+
ShareClientOptions clientOptions = new ShareClientOptions(ShareClientOptions.ServiceVersion.V2023_05_03);
128128
129129
// Set Allow Trailing Dot and Source Allow Trailing Dot.
130130
clientOptions.AllowTrailingDot = true;
131-
clientOptions.SourceAllowTrailingDot = true;
131+
clientOptions.AllowSourceTrailingDot = true;
132132
133133
// x-ms-file-intent=backup will automatically be applied to all APIs
134134
// where it is required in derived clients.

0 commit comments

Comments
 (0)