Utility.ISfcHasConnection.GetConnection 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取域根目录的活动连接。
重载
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 对象。
实现
适用于
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 对象。