TechNet
Export (0) Print
Expand All

DataSourceDefinition Class

 

Represents a data source definition.

Namespace:   ReportService2010
Assembly:  ReportService2010 (in ReportService2010.dll)

System::Object
  ReportService2010::DataSourceDefinitionOrReference
    ReportService2010::DataSourceDefinition

[SerializableAttribute]
public ref class DataSourceDefinition : DataSourceDefinitionOrReference

NameDescription
System_CAPS_pubmethodDataSourceDefinition()

Initializes a new instance of the DataSourceDefinition class.

NameDescription
System_CAPS_pubpropertyConnectString

Gets or sets the connection string for a data source.

System_CAPS_pubpropertyCredentialRetrieval

Gets or sets a value that indicates the way in which the report server retrieves data source credentials.

System_CAPS_pubpropertyEnabled

Gets a value that indicates whether a data source is enabled.

System_CAPS_pubpropertyEnabledSpecified

Gets or sets a value that indicates whether the Enabled property is specified.

System_CAPS_pubpropertyExtension

Gets or sets the name of the data source extension: SQL, OLEDB, ODBC, or a custom extension.

System_CAPS_pubpropertyImpersonateUser

Gets or sets a value that indicates whether the report server tries to impersonate a user by using stored credentials.

System_CAPS_pubpropertyImpersonateUserSpecified

Gets or sets a value that indicates whether the ImpersonateUser property is specified.

System_CAPS_pubpropertyOriginalConnectStringExpressionBased

Gets a value that indicates whether the original connection string for the data source was expression-based.

System_CAPS_pubpropertyPassword

Gets or sets the password that the report server uses to connect to a data source.

System_CAPS_pubpropertyPrompt

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

System_CAPS_pubpropertyUseOriginalConnectString

Gets or sets a value that specifies whether the data source should revert to the original connection string.

System_CAPS_pubpropertyUserName

Gets or sets the user name the report server uses to connect to a data source.

System_CAPS_pubpropertyWindowsCredentials

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.

NameDescription
System_CAPS_pubmethodEquals(Object^)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodToString()

(Inherited from 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.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show:
© 2016 Microsoft