Share via


IReportViewerMessages2.CredentialMissingUserNameError Method

Returns the error text to display when the user name has not been supplied for the data source credentials.

Namespace: Microsoft.Reporting.WinForms
Assembly: Microsoft.ReportViewer.WinForms (in microsoft.reportviewer.winforms.dll)

Syntax

'Declaration
Function CredentialMissingUserNameError ( _
    dataSourcePrompt As String _
) As String
'Usage
Dim instance As IReportViewerMessages2
Dim dataSourcePrompt As String
Dim returnValue As String

returnValue = instance.CredentialMissingUserNameError(dataSourcePrompt)
string CredentialMissingUserNameError (
    string dataSourcePrompt
)
String^ CredentialMissingUserNameError (
    String^ dataSourcePrompt
)
String CredentialMissingUserNameError (
    String dataSourcePrompt
)
function CredentialMissingUserNameError (
    dataSourcePrompt : String
) : String

Parameters

  • dataSourcePrompt
    The prompt value that identifies which data source is missing a value.

Return Value

Returns a String that contains the error text to display when the user name has not been supplied for the data source credentials.

See Also

Reference

IReportViewerMessages2 Interface
IReportViewerMessages2 Members
Microsoft.Reporting.WinForms Namespace