Share via


Propriété Extension

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

Espace de noms :  ReportService2010
Assembly :  ReportService2010 (en ReportService2010.dll)

Syntaxe

'Déclaration
Public Property Extension As String
    Get
    Set
'Utilisation
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)

Valeur de propriété

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

Notes

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.