static void DeploySSRSreportsAx2012(Args _args)
{
#AOT
TreeNodeIterator reportIterator = TreeNode::findNode(#SSRSReportsPath).AOTiterator();
SRSReportManager srsReportManager = new SRSReportManager();
SSRSReportConceptNode ssrsReportConceptNode;
if (!reportIterator)
return;
ssrsReportConceptNode = reportIterator.next();
while (ssrsReportConceptNode)
{
try
{
srsReportManager.deploymentStart();
srsReportManager.deployReport(ssrsReportConceptNode);
srsReportManager.deploymentEnd();
}
catch
{
exceptionTextFallThrough();
}
ssrsReportConceptNode = reportIterator.next();
}
}
{
#AOT
TreeNodeIterator reportIterator = TreeNode::findNode(#SSRSReportsPath).AOTiterator();
SRSReportManager srsReportManager = new SRSReportManager();
SSRSReportConceptNode ssrsReportConceptNode;
if (!reportIterator)
return;
ssrsReportConceptNode = reportIterator.next();
while (ssrsReportConceptNode)
{
try
{
srsReportManager.deploymentStart();
srsReportManager.deployReport(ssrsReportConceptNode);
srsReportManager.deploymentEnd();
}
catch
{
exceptionTextFallThrough();
}
ssrsReportConceptNode = reportIterator.next();
}
}
No comments:
Post a Comment