Aracılığıyla paylaş


SqlConnectionStringBuilder.IPAddressPreference Özellik

Tanım

TCP bağlantıları kurarken IP adresi ailesi tercihini alır veya ayarlar.

public:
 property Microsoft::Data::SqlClient::SqlConnectionIPAddressPreference IPAddressPreference { Microsoft::Data::SqlClient::SqlConnectionIPAddressPreference get(); void set(Microsoft::Data::SqlClient::SqlConnectionIPAddressPreference value); };
public Microsoft.Data.SqlClient.SqlConnectionIPAddressPreference IPAddressPreference { get; set; }
member this.IPAddressPreference : Microsoft.Data.SqlClient.SqlConnectionIPAddressPreference with get, set
Public Property IPAddressPreference As SqlConnectionIPAddressPreference

Özellik Değeri

IP adresi tercihini döndürür.

Açıklamalar

(.NET Framework içinde) veya Multi Subnet Failover true olarak ayarlandıysa Transparent Network IP Resolution , bu ayarın hiçbir etkisi olmaz.

Şunlara uygulanır