RSType.CreateClosedConnectionObject(UIConnectionInfo) 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.
Retrieves a value that creates an object to close the connection.
public:
virtual System::Data::IDbConnection ^ CreateClosedConnectionObject(Microsoft::SqlServer::Management::Smo::RegSvrEnum::UIConnectionInfo ^ ci);
public System.Data.IDbConnection CreateClosedConnectionObject (Microsoft.SqlServer.Management.Smo.RegSvrEnum.UIConnectionInfo ci);
abstract member CreateClosedConnectionObject : Microsoft.SqlServer.Management.Smo.RegSvrEnum.UIConnectionInfo -> System.Data.IDbConnection
override this.CreateClosedConnectionObject : Microsoft.SqlServer.Management.Smo.RegSvrEnum.UIConnectionInfo -> System.Data.IDbConnection
Public Function CreateClosedConnectionObject (ci As UIConnectionInfo) As IDbConnection
Parameters
The connection information.
Returns
A value that creates an object that closes the connection.