다음을 통해 공유


DataSourceDefinition.WindowsCredentials 속성

Gets or sets a value that indicates whether the report server passes user-provided or stored credentials as Windows credentials when it connects to a data source.

네임스페이스:  ReportService2010
어셈블리:  ReportService2010(ReportService2010.dll)

구문

‘선언
Public Property WindowsCredentials As Boolean 
    Get 
    Set
‘사용 방법
Dim instance As DataSourceDefinition 
Dim value As Boolean 

value = instance.WindowsCredentials

instance.WindowsCredentials = value
public bool WindowsCredentials { get; set; }
public:
property bool WindowsCredentials {
    bool get ();
    void set (bool value);
}
member WindowsCredentials : bool with get, set
function get WindowsCredentials () : boolean 
function set WindowsCredentials (value : boolean)

속성 값

유형: System.Boolean
true if the report server passes user-provided or stored credentials as Windows credentials when it connects to a data source; otherwise, false. The default is false.

주의

When WindowsCredentials is set to true, the submitted credentials are processed as Windows credentials when the report server connects to a data source.

The report server impersonates the user before it makes the connection to the data source.

This property is valid when the CredentialRetrieval property is set to Prompt or Store. This property is ignored if CredentialRetrieval is set to Integrated.

참고 항목

참조

DataSourceDefinition 클래스

ReportService2010 네임스페이스