DataSourceDefinition 클래스

Represents a data source definition in the Report Server database.

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

public class DataSourceDefinition : DataSourceDefinitionOrReference

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

  이름설명
공용 메서드DataSourceDefinitionInitializes a new instance of the DataSourceDefinition class.
맨 위로 이동

  이름설명
공용 속성ConnectStringGets or sets the connection string for a data source.
공용 속성CredentialRetrievalIndicates the way in which the Report Server retrieves data source credentials.
공용 속성EnabledIndicates whether a data source is enabled.
공용 속성EnabledSpecifiedGets or sets a value that indicates whether the Enabled property is specified.
공용 속성ExtensionGets or sets the name of the data source extension: SQL, OLEDB, ODBC, or a custom extension.
공용 속성ImpersonateUserIndicates whether the report server attempts to impersonate a user by using stored credentials after a data processing extension has established an authenticated connection to a data source.
공용 속성ImpersonateUserSpecifiedGets or sets a value that indicates whether the ImpersonateUser property is specified.
공용 속성OriginalConnectStringExpressionBasedIndicates whether the original connection string for the data source was expression-based. Read-only.
공용 속성PasswordGets or sets the password that the report server uses to connect to a data source.
공용 속성PromptGets or sets the prompt that the report server displays to the user when prompting for credentials.
공용 속성UseOriginalConnectStringSpecifies whether the data source should revert to the original connection string.
공용 속성UserNameGets or sets the user name that the report server uses to connect to a data source.
공용 속성WindowsCredentialsIndicates whether the Report Server passes user-provided or stored credentials as Windows credentials when connecting to a data source.
맨 위로 이동

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

Use the DataSourceDefinition class 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) 멤버는 스레드로부터 안전합니다. 인스턴스 멤버는 스레드로부터의 안전성이 보장되지 않습니다.

커뮤니티 추가 항목

추가
표시: