共用方式為


DataSourceDefinition.Prompt Property

Definition

Gets or sets the prompt that the report server displays to the user when prompting 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

A String containing the user prompt.

Remarks

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.

Applies to