ServerConnection Methods
Include Protected Members
Include Inherited Members
The ServerConnection type exposes the following members.
Methods
Name | Description | |
---|---|---|
BeginTransaction | Starts a transaction on the referenced connection. | |
Cancel | Cancels the connection. | |
ChangePassword(SecureString) | Changes the login password that is used with standard authentication. | |
ChangePassword(String) | Changes the logon password that is used with standard authentication. | |
CommitTransaction | Commits the current transaction on the referenced connection. | |
Connect | Connects to the instance of SQL Server. (Inherited from ConnectionManager.) | |
Copy | Returns a copy of the ServerConnection object. | |
Disconnect | Disconnects from the instance of SQL Server. (Inherited from ConnectionManager.) | |
Equals | (Inherited from Object.) | |
ExecuteNonQuery(StringCollection) | Executes a batch of statements that do not return a result set. | |
ExecuteNonQuery(String) | Executes a statement that does not return a result set. | |
ExecuteNonQuery(StringCollection, ExecutionTypes) | Executes a batch of statements with the specified execution options that does not return a result set. | |
ExecuteNonQuery(String, ExecutionTypes) | Executes a statement with the specified execution options that does not return a result set. | |
ExecuteReader(String) | Executes Transact-SQL statements that return one or multiple result sets. | |
ExecuteReader(String, SqlCommand%) | Executes a reader using a SqlDataReader object value that contains one or more result sets. | |
ExecuteScalar(StringCollection) | Executes a batch of Transact-SQL statements and returns the first column of the first row as an object value. | |
ExecuteScalar(String) | Executes a Transact-SQL statement and returns the first column of the first row as an object value. | |
ExecuteWithResults(StringCollection) | Executes a batch of Transact-SQL statements that return multiple result sets. | |
ExecuteWithResults(String) | Executes a Transact-SQL statement that returns a result set. | |
ForceDisconnected | Forces a disconnect from the instance of SQL Server. (Inherited from ConnectionManager.) | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
IsInFixedServerRole | Tests whether the logon associated with the referenced connection is a member of the specified fixed server role. | |
NormalizeQuery(String) | Uses a string input that represents the query text. | |
NormalizeQuery(String, Boolean) | Normalizes the query that controls the server connection. | |
RollBackTransaction | Rolls back the current transaction. | |
ToString | Returns the referenced object name as a string. (Inherited from ConnectionSettings.) |
Top
Explicit Interface Implementations
Name | Description | |
---|---|---|
ISfcConnection.Connect | Returns a value that indicates the server to connect using an SFC connection. | |
ISfcConnection.Copy | Uses the SFC connection to copy the server connection. | |
ISfcConnection.Disconnect | Disconnects the connection. | |
ISfcConnection.ToEnumeratorObject | Renders an enumerator object for the server connection. |
Top