共用方式為


DacStore.SqlStoreConnection Property

Gets or sets the connection to the instance of SQL Server.

Namespace:  Microsoft.SqlServer.Management.Dac
Assembly:  Microsoft.SqlServer.Management.Dac (in Microsoft.SqlServer.Management.Dac.dll)

Syntax

'宣告
<SfcIgnoreAttribute> _
Public Overrides WriteOnly Property SqlStoreConnection As SqlStoreConnection
    Set
'用途
Dim instance As DacStore
Dim value As SqlStoreConnection

instance.SqlStoreConnection = value
[SfcIgnoreAttribute]
public override SqlStoreConnection SqlStoreConnection { set; }
[SfcIgnoreAttribute]
public:
virtual property SqlStoreConnection^ SqlStoreConnection {
    void set (SqlStoreConnection^ value) override;
}
[<SfcIgnoreAttribute>]
abstract SqlStoreConnection : SqlStoreConnection with get, set
[<SfcIgnoreAttribute>]
override SqlStoreConnection : SqlStoreConnection with get, set
override function set SqlStoreConnection (value : SqlStoreConnection)

Property Value

Type: Microsoft.SqlServer.Management.Sdk.Sfc.SqlStoreConnection
A SqlStoreConnection system value that specifies the connection to an instance of SQL Server.

Remarks

The SqlStoreConnection is valid only when the application is running in connected mode.

See Also

Reference

DacStore Class

Microsoft.SqlServer.Management.Dac Namespace