Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Searches for an existing data connection that matches the specified properties.
Namespace: Microsoft.VisualStudio.Data.Services
Assembly: Microsoft.VisualStudio.Data.Services (in Microsoft.VisualStudio.Data.Services.dll)
Syntax
'Declaration
Function FindConnection ( _
provider As Guid, _
connectionString As String, _
encryptedString As Boolean _
) As IVsDataExplorerConnection
IVsDataExplorerConnection FindConnection(
Guid provider,
string connectionString,
bool encryptedString
)
IVsDataExplorerConnection^ FindConnection(
Guid provider,
String^ connectionString,
bool encryptedString
)
abstract FindConnection :
provider:Guid *
connectionString:string *
encryptedString:bool -> IVsDataExplorerConnection
function FindConnection(
provider : Guid,
connectionString : String,
encryptedString : boolean
) : IVsDataExplorerConnection
Parameters
- provider
Type: System.Guid
The GUID of the DDEX provider for the associated data connection.
- connectionString
Type: System.String
The connection string, in unencrypted or encrypted form, containing the connection properties.
- encryptedString
Type: System.Boolean
A Boolean value indicating whether the connectionString parameter is encrypted (true) or not (false).
Return Value
Type: Microsoft.VisualStudio.Data.Services.IVsDataExplorerConnection
An IVsDataExplorerConnection object representing an existing data connection that matches the specified properties, or nulla null reference (Nothing in Visual Basic) if none is found.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.