Поделиться через


Свойство Prompt

Gets or sets the prompt that the report server displays to the user when prompting for credentials.

Пространство имен:  ReportService2005
Сборка:  ReportService2005 (в ReportService2005.dll)

Синтаксис

'Декларация
Public Property Prompt As String
    Get
    Set
'Применение
Dim instance As DataSourceDefinition
Dim value As String

value = instance.Prompt

instance.Prompt = value
public string Prompt { get; set; }
public:
property String^ Prompt {
    String^ get ();
    void set (String^ value);
}
member Prompt : string with get, set
function get Prompt () : String
function set Prompt (value : String)

Значение свойства

Тип: System. . :: . .String
A String containing the user prompt.

Замечания

If the CredentialRetrieval property is not set to Prompt, this value is ignored.

If multiple data sources are associated with a report and the report's connection CredentialRetrieval setting is set to Prompt, the Report Server prompts for each data source.