다음을 통해 공유


Prompt 속성

Gets or sets the text that prompts the user to provide parameter values.

네임스페이스:  ReportExecution2005
어셈블리:  ReportExecution2005.dll의 ReportExecution2005

구문

‘선언
Public Property Prompt As String
    Get
    Set
‘사용 방법
Dim instance As ReportParameter
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 value containing the text that prompts the user to provide parameter values.

주의

The default value for the Prompt property is retrieved from the report definition when a report is first published to the report server database with the CreateReport method. If the report definition specifies an empty string, the user will not be prompted for a password unless one is supplied via code or URL access..