ConnectionStringsExpressionEditor.GetExpressionEditorSheet Method
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.
Returns an expression editor sheet for a connection string expression.
public:
override System::Web::UI::Design::ExpressionEditorSheet ^ GetExpressionEditorSheet(System::String ^ expression, IServiceProvider ^ serviceProvider);
public override System.Web.UI.Design.ExpressionEditorSheet GetExpressionEditorSheet(string expression, IServiceProvider serviceProvider);
override this.GetExpressionEditorSheet : string * IServiceProvider -> System.Web.UI.Design.ExpressionEditorSheet
Public Overrides Function GetExpressionEditorSheet (expression As String, serviceProvider As IServiceProvider) As ExpressionEditorSheet
- expression
- String
The expression string set for a control property, used to initialize the expression editor sheet. The expression does not include the ConnectionStrings
expression prefix.
- serviceProvider
- IServiceProvider
A service provider implementation supplied by the designer host, used to obtain additional design-time services.
An ExpressionEditorSheet instance that defines the connection string expression properties.
The GetExpressionEditorSheet method returns an editor sheet implementation for connection string expressions. The editor sheet for connection string expressions allows users to select a connection name and type, based on the current connection strings that are defined in the connectionStrings Element (ASP.NET Settings Schema) section of the Web configuration file. Once users have selected the connection expression properties, the editor sheet implementation combines the connection name and type into a connection string expression, which is returned to the visual designer.
Производ | Верзије |
---|---|
.NET Framework | 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET повратне информације
.NET је пројекат отвореног кода. Изаберите везу да бисте обезбедили повратне информације: