SqlConnectionStringBuilder.TransparentNetworkIPResolution Eigenschaft
Definition
Wenn der Wert dieses Schlüssels auf true
festgelegt wird, muss die Anwendung alle IP-Adressen für einen bestimmten DNS-Eintrag abrufen und versuchen, mit der ersten Adresse auf der Liste eine Verbindung herzustellen.When the value of this key is set to true
, the application is required to retrieve all IP addresses for a particular DNS entry and attempt to connect with the first one in the list. Wenn die Verbindung nicht innerhalb von 0,5 Sekunden hergestellt wird, versucht die Verbindung, parallel mit allen anderen Adressen eine Verbindung herzustellen.If the connection is not established within 0.5 seconds, the application will try to connect to all others in parallel. Wenn die erste Adresse antwortet, stellt die Anwendung eine Verbindung mit der antwortenden IP-Adresse her.When the first answers, the application will establish the connection with the respondent IP address.
public:
property bool TransparentNetworkIPResolution { bool get(); void set(bool value); };
public bool TransparentNetworkIPResolution { get; set; }
member this.TransparentNetworkIPResolution : bool with get, set
Public Property TransparentNetworkIPResolution As Boolean
Eigenschaftswert
Ein boolescher Wert.A boolean value.
Hinweise
Wenn die MultiSubnetFailover
-Taste auf true
festgelegt ist, wird TransparentNetworkIPResolution
ignoriert.If the MultiSubnetFailover
key is set to true
, TransparentNetworkIPResolution
is ignored.
Wenn die Failover Partner
-Taste festgelegt ist, wird TransparentNetworkIPResolution
ignoriert.If the Failover Partner
key is set, TransparentNetworkIPResolution
is ignored.
Der Wert dieses Schlüssels muss true
, false
, yes
oder no
sein.The value of this key must be true
, false
, yes
, or no
.
Der Wert yes
wird mit dem Wert true
behandelt.A value of yes
is treated the same as a value of true
.
Der Wert no
wird mit dem Wert false
behandelt.A value of no
is treated the same as a value of false
.
Dieser Schlüssel ist standardmäßig false
, wenn Folgendes verwendet wird:This key defaults to false
when:
Herstellen einer Verbindung mit der Azure SQL-Datenbank, in der die Datenquelle endet:Connecting to Azure SQL Database where the data source ends with:
.database.chinacloudapi.cn.database.chinacloudapi.cn
.database.usgovcloudapi.net.database.usgovcloudapi.net
.database.cloudapi.de.database.cloudapi.de
.database.windows.net.database.windows.net
Authentication
ist ' Active Directory Password ' oder ' Active Directory integriert 'Authentication
is 'Active Directory Password' or 'Active Directory Integrated'
Andernfalls wird standardmäßig true
verwendet.Otherwise it defaults to true
.