ISfcConnection.Connect 方法
命名空間: Microsoft.SqlServer.Management.Common
組件: Microsoft.SqlServer.ConnectionInfo (在 Microsoft.SqlServer.ConnectionInfo.dll 中)
語法
'宣告
Private Function Connect As Boolean
Implements ISfcConnection.Connect
'用途
Dim instance As ServerConnection
Dim returnValue As Boolean
returnValue = CType(instance, ISfcConnection).Connect()
bool ISfcConnection.Connect()
private:
virtual bool Connect() sealed = ISfcConnection::Connect
private abstract Connect : unit -> bool
private override Connect : unit -> bool
JScript 支援明確介面實作的使用,但不支援新介面實作的宣告。