Share via


DataSourceDefinition.Extension Property

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

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

Syntax

'Declaration
Public Property Extension As String
    Get
    Set
'Usage
Dim instance As DataSourceDefinition
Dim value As String

value = instance.Extension

instance.Extension = value
public string Extension { get; set; }
public:
property String^ Extension {
    String^ get ();
    void set (String^ value);
}
member Extension : string with get, set
function get Extension () : String
function set Extension (value : String)

Property Value

Type: System.String
A String value that contains the name of the data source extension.

Remarks

This is the name of a registered report server data extension. The ListExtensions(ExtensionTypeEnum) method call can be used to obtain a list of registered report server data extensions.