Share via


SqlScriptEditorControl.Connect Method

Connects to the server.

Namespace:  Microsoft.SqlServer.Management.UI.VSIntegration.Editors
Assembly:  SQLEditors (in SQLEditors.dll)

Syntax

'Declaration
Protected Overrides Function Connect As Boolean
'Usage
Dim returnValue As Boolean 

returnValue = Me.Connect()
protected override bool Connect()
protected:
virtual bool Connect() override
abstract Connect : unit -> bool  
override Connect : unit -> bool
protected override function Connect() : boolean

Return Value

Type: System.Boolean
A Boolean value that indicates result of operation, True if connection succeeds, otherwise False.

See Also

Reference

SqlScriptEditorControl Class

Microsoft.SqlServer.Management.UI.VSIntegration.Editors Namespace