DataSourceDefinition.Prompt 属性

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

命名空间:  ReportService2010
程序集:  ReportService2010(在 ReportService2010.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 that contains the 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.

请参阅

参考

DataSourceDefinition 类

ReportService2010 命名空间