Click or drag to resize

RemReportListReportSources Method

Paperwork .Net Kütüphanesi
Rapor kaynaklarını getirmek için kullanılır. (detaylı)

Namespace:  Paperwork.Connect
Assembly:  Paperwork.Connect (in Paperwork.Connect.dll) Version: 5.0.0.0
Syntax
C#
public a_ReportSourceList ListReportSources(
	string category,
	string name,
	bool forDesign
)

Parameters

category
Type: SystemString
Kategori
name
Type: SystemString
Filtre
forDesign
Type: SystemBoolean

Return Value

Type: a_ReportSourceList
a_ReportSourceList tipinde detaylı rapor kaynaklarını döner.
Examples
C#
public void ListReportSources()
{
    string category = "Category_Name";
    string name = "Filtre_Name";
    bool isDesign = false;
    a_ReportSourceList retval = p.rReport.ListReportSources(category, name, isDesign);
    if (retval.Items.Count == 0)
        Console.WriteLine("Verilen kriterlerde değer bulunamadı.");
    else
        foreach (var item in retval.Items)
        {
            Console.WriteLine("SOURCE_ID: " + item.SourceId);
            Console.WriteLine("SOURCE_NAME: " + item.SourceName);
            Console.WriteLine("SOURCE_TITLE: " + item.SourceTitle);
            Console.WriteLine("SOURCE_TYPE: " + item.SourceType);
            Console.WriteLine("SQL_TEXT: " + item.SqlText);
            Console.WriteLine("STATUS: " + item.Status);
            Console.WriteLine("CLASS_DATA: " + item.ClassData);
        }
    Console.ReadLine();
}
See Also