Интерфейс ISfcConnection

Defines high-level properties and methods for server connections.

Пространство имен:  Microsoft.SqlServer.Management.Common
Сборка:  Microsoft.SqlServer.ConnectionInfo (в Microsoft.SqlServer.ConnectionInfo.dll)

Синтаксис

'Декларация
Public Interface ISfcConnection
'Применение
Dim instance As ISfcConnection
public interface ISfcConnection
public interface class ISfcConnection
type ISfcConnection =  interface end
public interface ISfcConnection

Тип ISfcConnection обеспечивает доступ к следующим элементам.

Свойства

  Имя Описание
Открытое свойство IsForceDisconnected Gets a Boolean value that specifies whether the connection was forcibly disconnected.
Открытое свойство IsOpen Gets a value indicating whether the connection is open.
Открытое свойство ServerInstance Gets or sets the name of the target server for the connection.
Открытое свойство ServerVersion Gets the SQL Server version of the target server.

В начало

Методы

  Имя Описание
Открытый метод Connect Connects to the target server.
Открытый метод Copy Copies the connection object.
Открытый метод Disconnect Disconnects from the target server.
Открытый метод ForceDisconnected Forces a disconnect from the instance of SQL Server.
Открытый метод ToEnumeratorObject Indicates the specified object from the enumeration. Не ссылайтесь на этот элемент непосредственно из кода. Он поддерживает работу инфраструктуры SQL Server. 

В начало