Partager via


IVsDataConnectionManager.GetConnection Method

Include Protected Members
Include Inherited Members

Retrieves an existing data connection or creates a new data connection that matches the specified provider GUID and connection string.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

  Name Description
Public method GetConnection(Guid, String, Boolean) Retrieves an existing data connection or creates a new data connection that matches the specified provider GUID and connection string.
Public method GetConnection(Guid, String, Boolean, Boolean) Retrieves an existing data connection or creates a new data connection that matches the specified provider GUID and connection string. Also, optionally updates the connection string of the returned connection.

Top

See Also

Reference

IVsDataConnectionManager Interface

Microsoft.VisualStudio.Data.Services Namespace