Utility.ISfcHasConnection.GetConnection 方法

定义

获取域根的活动连接。

重载

ISfcHasConnection.GetConnection()

获取 ISfcConnection

ISfcHasConnection.GetConnection(SfcObjectQueryMode)

获取 ISfcConnection

ISfcHasConnection.GetConnection()

获取 ISfcConnection

 virtual Microsoft::SqlServer::Management::Common::ISfcConnection ^ Microsoft.SqlServer.Management.Sdk.Sfc.ISfcHasConnection.GetConnection() = Microsoft::SqlServer::Management::Sdk::Sfc::ISfcHasConnection::GetConnection;
Microsoft.SqlServer.Management.Common.ISfcConnection ISfcHasConnection.GetConnection ();
abstract member Microsoft.SqlServer.Management.Sdk.Sfc.ISfcHasConnection.GetConnection : unit -> Microsoft.SqlServer.Management.Common.ISfcConnection
override this.Microsoft.SqlServer.Management.Sdk.Sfc.ISfcHasConnection.GetConnection : unit -> Microsoft.SqlServer.Management.Common.ISfcConnection
Function GetConnection () As ISfcConnection Implements ISfcHasConnection.GetConnection

返回

ISfcConnection

一个 ISfcConnection 对象。

实现

适用于

ISfcHasConnection.GetConnection(SfcObjectQueryMode)

获取 ISfcConnection

 virtual Microsoft::SqlServer::Management::Common::ISfcConnection ^ Microsoft.SqlServer.Management.Sdk.Sfc.ISfcHasConnection.GetConnection(Microsoft::SqlServer::Management::Sdk::Sfc::SfcObjectQueryMode mode) = Microsoft::SqlServer::Management::Sdk::Sfc::ISfcHasConnection::GetConnection;
Microsoft.SqlServer.Management.Common.ISfcConnection ISfcHasConnection.GetConnection (Microsoft.SqlServer.Management.Sdk.Sfc.SfcObjectQueryMode mode);
abstract member Microsoft.SqlServer.Management.Sdk.Sfc.ISfcHasConnection.GetConnection : Microsoft.SqlServer.Management.Sdk.Sfc.SfcObjectQueryMode -> Microsoft.SqlServer.Management.Common.ISfcConnection
override this.Microsoft.SqlServer.Management.Sdk.Sfc.ISfcHasConnection.GetConnection : Microsoft.SqlServer.Management.Sdk.Sfc.SfcObjectQueryMode -> Microsoft.SqlServer.Management.Common.ISfcConnection
Function GetConnection (mode As SfcObjectQueryMode) As ISfcConnection Implements ISfcHasConnection.GetConnection

参数

mode
SfcObjectQueryMode

一个 SfcObjectQueryMode 对象。

返回

ISfcConnection

一个 ISfcConnection 对象。

实现

适用于