Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'mcs/class/referencesource/System.Data/System/Data/SqlClient/TdsEnums.cs')
-rw-r--r--mcs/class/referencesource/System.Data/System/Data/SqlClient/TdsEnums.cs13
1 files changed, 11 insertions, 2 deletions
diff --git a/mcs/class/referencesource/System.Data/System/Data/SqlClient/TdsEnums.cs b/mcs/class/referencesource/System.Data/System/Data/SqlClient/TdsEnums.cs
index 7f9efe37d1d..319e252b21b 100644
--- a/mcs/class/referencesource/System.Data/System/Data/SqlClient/TdsEnums.cs
+++ b/mcs/class/referencesource/System.Data/System/Data/SqlClient/TdsEnums.cs
@@ -2,8 +2,8 @@
// <copyright file="TdsEnums.cs" company="Microsoft">
// Copyright (c) Microsoft Corporation. All rights reserved.
// </copyright>
-// <owner current="true" primary="true">Microsoft</owner>
-// <owner current="true" primary="false">Microsoft</owner>
+// <owner current="true" primary="true">[....]</owner>
+// <owner current="true" primary="false">[....]</owner>
//------------------------------------------------------------------------------
namespace System.Data.SqlClient {
@@ -200,6 +200,7 @@ namespace System.Data.SqlClient {
public const byte FEATUREEXT_SRECOVERY = 0x01;
public const byte FEATUREEXT_FEDAUTH = 0x02;
public const byte FEATUREEXT_TCE = 0x04;
+ public const byte FEATUREEXT_GLOBALTRANSACTIONS = 0x05;
[Flags]
public enum FeatureExtension:uint {
@@ -207,6 +208,7 @@ namespace System.Data.SqlClient {
SessionRecovery=1,
FedAuth=2,
Tce=4,
+ GlobalTransactions = 8,
}
public const byte FEDAUTHLIB_LIVEID = 0X00;
@@ -1017,6 +1019,13 @@ namespace System.Data.SqlClient {
ActiveDirectoryPassword,
ActiveDirectoryIntegrated,
}
+ // This enum indicates the state of TransparentNetworkIPResolution
+ // The first attempt when TNIR is on should be sequential. If the first attempt failes next attempts should be parallel.
+ internal enum TransparentNetworkResolutionState {
+ DisabledMode = 0,
+ SequentialMode,
+ ParallelMode
+ };
internal class ActiveDirectoryAuthentication
{