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. | |
CheckServerVersion(ServerVersion) | Checks the version of the target instance of SQL Server. (Inherited from ConnectionManager.) | |
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(Object) | (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. | |
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. | |
Finalize() | (Inherited from Object.) | |
GetHashCode() | (Inherited from Object.) | |
GetType() | (Inherited from Object.) | |
IsInFixedServerRole(FixedServerRoles) | Tests whether the logon associated with the referenced connection is a member of the specified fixed server role. | |
MemberwiseClone() | (Inherited from Object.) | |
NormalizeQuery(String) | ||
NormalizeQuery(String, Boolean) | ||
RollBackTransaction() | Rolls back the current transaction. | |
ThrowIfPropertyNotSet(String, String) | Throws an exception if the specified connection property is null or empty. (Inherited from ConnectionSettings.) | |
ThrowIfPropertyNotSet(String, String, Boolean) | Throws an exception if the specified connection property is null or, optionally, empty. (Inherited from ConnectionSettings.) | |
ToString() | Returns the referenced object name as a string. (Inherited from ConnectionSettings.) |
Top
Explicit Interface Implementations
Name | Description | |
---|---|---|
ISfcConnection.Connect() | ||
ISfcConnection.Copy() | ||
ISfcConnection.Disconnect() | ||
ISfcConnection.ToEnumeratorObject() |
Top