共用方式為


DataSourceDefinition.Extension 屬性

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

命名空間:  ReportService2010
組件:  ReportService2010 (在 ReportService2010.dll 中)

語法

'宣告
Public Property Extension As String 
    Get 
    Set
'用途
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)

屬性值

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

備註

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.

請參閱

參考

DataSourceDefinition 類別

ReportService2010 命名空間