Share via


Veri işleme uzantısı kitaplığı oluşturma

Her Reporting Services oluşturduğunuz veri işleme uzantısı atanabilir için benzersiz bir ad alanı ve yerleşik bir kitaplık veya derleme dosyası.The exact name of the namespace is not important, but it must be unique and not shared with any other extension.Microsoft uses the namespace Microsoft.ReportingServices.DataProcessing for the data processing extensions that ship with Reporting Services.Kendi şirketinizin veri işleme uzantıları için benzersiz bir ad alanları oluşturmanız gerekir.

Başlamak için kod aşağıdaki örnekte gösterilmektedir bir Reporting Services veri işleme uzantısı, kullandığı ad alanları içeren veri işleme ve arabirimleri bir yardımcı program sınıfları.

Imports System
Imports Microsoft.ReportingServices.DataProcessing
Imports Microsoft.ReportingServices.Interfaces

Namespace CompanyName.ExtensionName
   ...
using System;
using Microsoft.ReportingServices.DataProcessing;
using Microsoft.ReportingServices.Interfaces;

namespace CompanyName.ExtensionName
{
   ...

Derleme sırasında bir Reporting Services veri işleme uzantısı gerekir sağladığınız derleyici bir başvuru Microsoft.ReportingServices.Interfaces.dll, çünkü veri işleme uzantısı arabirimleri olan içerilen vardır.The Microsoft.ReportingServices.DataProcessing namespace is needed to implement the data processing extension interfaces, and the Microsoft.ReportingServices.Interfaces namespace is needed to implement the IExtension interface.Örneğin, tüm, uygulamak için kodu içeren dosyaları bir Reporting Services C# [NULL]'ta yazılan veri işleme uzantısı olan tek bir dizinde uzantısı .cs, aşağıdaki komutu verilen CompanyName.ExtensionName.dll depolanan dosyaları derlemek için bu dizinden

csc /t:library /out:CompanyName.ExtensionName.dll *.cs /r:System.dll /r:Microsoft.ReportingServices.Interfaces.dll

The following code example shows the command that would be used for Microsoft Visual Basic files with the extension .vb.

vbc /t:library /out:CompanyName.ExtensionName.dll *.vb /r:System.dll /r:Microsoft.ReportingServices.Interfaces.dll

Not

Ayrıca tasarlamak, geliştirmek ve veri işleme uzantısı kullanılarak yapı Visual Studio.Derlemeleri geliştirme hakkında daha fazla bilgi için Visual Studio, bakın sizin Visual Studio belgeleri.