다음을 통해 공유


ConfigurationHelperService.ReadConnectionStrings Method

Returns all the connection strings in the specified configuration that start with the specified prefix.

Namespace:  Microsoft.VisualStudio.Shell.Design.Serialization
Assembly:  Microsoft.VisualStudio.Shell.Design (in Microsoft.VisualStudio.Shell.Design.dll)

Syntax

‘선언
Public Function ReadConnectionStrings ( _
    configFileName As String, _
    configDocData As DocData, _
    prefix As String _
) As ConnectionStringSettingsCollection
public ConnectionStringSettingsCollection ReadConnectionStrings(
    string configFileName,
    DocData configDocData,
    string prefix
)

Parameters

  • configFileName
    Type: System.String
    The target configuration file.

Return Value

Type: System.Configuration.ConnectionStringSettingsCollection
The ConnectionStringSettingsCollection of the strings that were found.

.NET Framework Security

See Also

Reference

ConfigurationHelperService Class

Microsoft.VisualStudio.Shell.Design.Serialization Namespace