Connection 属性
获取或设置包含与数据库的连接的 SqlConnection 对象。
命名空间: Microsoft.Synchronization.Data.SqlServer
程序集: Microsoft.Synchronization.Data.SqlServer(在 Microsoft.Synchronization.Data.SqlServer.dll 中)
语法
声明
Public Property Connection As SqlConnection
Get
Set
用法
Dim instance As SqlSyncStoreMetadataCleanup
Dim value As SqlConnection
value = instance.Connection
instance.Connection = value
public SqlConnection Connection { get; set; }
public:
property SqlConnection^ Connection {
SqlConnection^ get ();
void set (SqlConnection^ value);
}
member Connection : SqlConnection with get, set
function get Connection () : SqlConnection
function set Connection (value : SqlConnection)
属性值
类型:System.Data.SqlClient. . :: . .SqlConnection
包含与数据库的连接的 SqlConnection 对象。