DataSourceDefinition.Prompt Property

Definition

获取或设置在报表服务器提示用户提供凭据时,向用户显示的提示。Gets or sets the prompt that the report server displays to the user when it prompts for credentials.

public:
 property System::String ^ Prompt { System::String ^ get(); void set(System::String ^ value); };
public string Prompt { get; set; }
member this.Prompt : string with get, set
Public Property Prompt As String

Property Value

String

一个包含提示的StringA String that contains the prompt.

Remarks

如果 CredentialRetrieval 属性未设置为 Prompt ,则忽略此值。If the CredentialRetrieval property is not set to Prompt, this value is ignored.

如果有多个数据源与报表相关联,并且报表的连接 CredentialRetrieval 设置设置为 Prompt ,则 Report Server 会提示输入每个数据源。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.

Applies to