共用方式為


DataSourceDefinition.Prompt 屬性

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

命名空間:  ReportService2006
組件:  ReportService2006 (在 ReportService2006.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 類別

ReportService2006 命名空間