Microsoft.Data.SqlClient.dll 包: Microsoft.Data.SqlClient v5.2.0 获取或设置用于打开 SQL Server 数据库的字符串。 C#复制 [System.ComponentModel.SettingsBindable(true)]publicoverridestringConnectionString {get;set; } 属性值 String 连接字符串,其中包含源数据库名称和建立初始连接所需的其他参数。 默认值为...
Microsoft.Data.SqlClient.dll 套件: Microsoft.Data.SqlClient v5.2.0 從SqlConnectionStringBuilder執行個體移除具有指定之索引鍵的項目。 C# publicoverrideboolRemove(stringkeyword); 參數 keyword String 要從這個SqlConnectionStringBuilder的連接字串中移除之索引鍵/值組的索引鍵。
ConnectionString類似於 OLE DB 連接字串,但不相同。 不同於 OLE DB 或 ADO,傳回的 連接字串 與使用者設定ConnectionString相同,如果保存安全性資訊值設定為 false (預設) ,則會減去安全性資訊。 除非您將 [保存安全性資訊true] 設定為 ,否則 .NET Framework data Provider for SQL Server 不會保存或傳回 連...
System.Data.SqlClient.notsupported.cs 获取或设置用于打开 SQL Server 数据库的字符串。 C#复制 publicoverridestringConnectionString {get;set; } 属性值 String 连接字符串,其中包含源数据库名称和建立初始连接所需的其他参数。 默认值为一个空字符串。
SqlConnectionStringBuilder クラスリファレンス フィードバック 定義名前空間: Microsoft.Data.SqlClient アセンブリ: Microsoft.Data.SqlClient.dll パッケージ: Microsoft.Data.SqlClient v5.2.0 SqlConnection クラスで使用される接続文字列の内容を簡単に作成および管理するための手段を提供します。
程序集: Microsoft.Data.SqlClient.dll 包: Microsoft.Data.SqlClient v1.1.4 指示此 SqlConnectionStringBuilder 实例中是否存在指定的键。 C# 复制 public override bool ShouldSerialize (string keyword); 参数 keyword String 要在SqlConnectionStringBuilder 中定位的键。 返回 Boolean 如...
Use the Microsoft.Data.SqlClient package instead.Provides a simple way to create and manage the contents of connection strings used by the SqlConnection class.C# 复制 [System.Obsolete("Use the Microsoft.Data.SqlClient package instead.")] public sealed class SqlConnectionString...
Use the Microsoft.Data.SqlClient package instead.Provides a simple way to create and manage the contents of connection strings used by the SqlConnection class.C# 复制 [System.Obsolete("Use the Microsoft.Data.SqlClient package instead.")] public sealed class SqlConnectionStringBuilder : System.Data...
System.String, System.Security.SecureString, Boolean, System.Data.SqlClient.SqlConnectionString, System.Data.SqlClient.SessionData, System.Data.ProviderBase.DbConnectionPool, System.String, Boolean, System.Data.SqlClient.SqlAuthenticationProviderManager)+0x5f4 0000000000DCDBB0 00007FFBDDCD5083 System_Data_...
For example the site listing lots of examples of connection strings has the following for SQL Server Native Client 10.0 OLE DB Provider (https://www.connectionstrings.com/sql-server-2008): 展开表 Provider=SQLNCLI10; Server=myServerAddress; Database=myDataBase; Trusted_Connection=yes; ...