DataSourceDefinition 클래스

Represents a data source definition in SharePoint library.

상속 계층

System.Object
  ReportService2006.DataSourceDefinitionOrReference
    ReportService2006.DataSourceDefinition

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

구문

‘선언
Public Class DataSourceDefinition _
    Inherits DataSourceDefinitionOrReference
‘사용 방법
Dim instance As DataSourceDefinition
public class DataSourceDefinition : DataSourceDefinitionOrReference
public ref class DataSourceDefinition : public DataSourceDefinitionOrReference
type DataSourceDefinition =  
    class 
        inherit DataSourceDefinitionOrReference 
    end
public class DataSourceDefinition extends DataSourceDefinitionOrReference

DataSourceDefinition 유형에서 다음 멤버를 표시합니다.

생성자

  이름 설명
공용 메서드 DataSourceDefinition Initializes a new instance of the DataSourceDefinition class.

맨 위로 이동

속성

  이름 설명
공용 속성 ConnectString Gets or sets the connection string for a data source.
공용 속성 CredentialRetrieval Gets or sets a value that indicates the way in which the report server retrieves data source credentials.
공용 속성 Enabled Gets a value that indicates whether a data source is enabled.
공용 속성 EnabledSpecified Gets or sets a value that indicates whether the Enabled property is specified.
공용 속성 Extension Gets or sets the name of the data source extension: SQL, OLEDB, ODBC, or a custom extension.
공용 속성 ImpersonateUser Gets or sets a value that indicates whether the report server tries to impersonate a user by using stored credentials.
공용 속성 ImpersonateUserSpecified Gets or sets a value that indicates whether the ImpersonateUser property is specified.
공용 속성 OriginalConnectStringExpressionBased Gets a value that indicates whether the original connection string for the data source was expression-based.
공용 속성 Password Gets or sets the password that the report server uses to connect to a data source.
공용 속성 Prompt Gets or sets the prompt that the report server displays to the user when it prompts for credentials.
공용 속성 UseOriginalConnectString Gets or sets a value that specifies whether the data source should revert to the original connection string.
공용 속성 UserName Gets or sets the user name the report server uses to connect to a data source.
공용 속성 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.

맨 위로 이동

메서드

  이름 설명
공용 메서드 Equals (Object에서 상속됨)
보호된 메서드 Finalize (Object에서 상속됨)
공용 메서드 GetHashCode (Object에서 상속됨)
공용 메서드 GetType (Object에서 상속됨)
보호된 메서드 MemberwiseClone (Object에서 상속됨)
공용 메서드 ToString (Object에서 상속됨)

맨 위로 이동

주의

Use the DataSourceDefinition class together with the Item property of the DataSource class.

A DataSourceDefinition object is returned as output by the GetDataSourceContents method and is passed as input to the CreateDataSource and SetDataSourceContents methods.

The DataSourceDefinition class is used for both embedded and shared data sources.

스레드 보안

이 유형의 모든 공용 static(Visual Basic에서는 Shared) 멤버는 스레드로부터 안전합니다. 인스턴스 멤버는 스레드로부터의 안전성이 보장되지 않습니다.

참고 항목

참조

ReportService2006 네임스페이스