Open Method (BigQueryConnection)
Opens a Google BigQuery connection with the property settings specified by the
ConnectionString.
The following example creates a
BigQueryConnection, opens it, displays some of its properties, and then closes the connection.
|
|---|
public void CreateBigQueryConnection(string myConnString)
{
BigQueryConnection bigQueryConnection = new BigQueryConnection(myConnString);
bigQueryConnection.Open();
MessageBox.Show("ServerVersion: " + bigQueryConnection.ServerVersion
+ "\nState: " + bigQueryConnection.State.ToString());
bigQueryConnection.Close();
} |
|
|---|
Public Sub CreateBigQueryConnection(myConnString As String)
Dim bigQueryConnection As New BigQueryConnection(myConnString)
bigQueryConnection.Open()
MessageBox.Show("ServerVersion: " + bigQueryConnection.ServerVersion _
+ ControlChars.Cr + "State: " + bigQueryConnection.State.ToString())
bigQueryConnection.Close()
End Sub |