ICommandExecuter.Connect(Int32, String, String, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Connects to an instance of SQL Server.
public:
ManagedBatchParser::ParserAction Connect(int timeout, System::String ^ server, System::String ^ user, System::String ^ password);
public ManagedBatchParser.ParserAction Connect (int timeout, string server, string user, string password);
abstract member Connect : int * string * string * string -> ManagedBatchParser.ParserAction
Public Function Connect (timeout As Integer, server As String, user As String, password As String) As ParserAction
Parameters
- timeout
- Int32
The time-out value for the connection.
- server
- String
The server name.
- user
- String
The user name.
- password
- String
The user password.
Returns
The parser action, either Abort or Continue.