Back to Devexpress

RemoteDocumentSource.ServiceUri Property

corelibraries-devexpress-dot-reportserver-dot-printing-dot-remotedocumentsource-676bc58c.md

latest3.8 KB
Original Source

RemoteDocumentSource.ServiceUri Property

Specifies the uniform resource identifier (URI) of a remote document source.

Namespace : DevExpress.ReportServer.Printing

Assembly : DevExpress.Printing.v25.2.Core.dll

NuGet Package : DevExpress.Printing.Core

Declaration

csharp
[DefaultValue(null)]
public string ServiceUri { get; set; }
vb
<DefaultValue(Nothing)>
Public Property ServiceUri As String

Property Value

TypeDefaultDescription
Stringnull

A String value, specifying the document source URI.

|

Remarks

To assign a remote document source to the DocumentViewer control, specify the following properties of the RemoteDocumentSource class.

  1. The RemoteDocumentSource.AuthenticationType property.

  2. The ServiceUri property.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the ServiceUri property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

report-server-how-to-manage-scheduled-jobs-from-a-windows-forms-application/CS/ScheduledTasksAPIClientDemo/ReportViewerForm.cs#L10

csharp
InitializeComponent();
remoteDocumentSource1.ServiceUri = MainForm.ServerAddress;
remoteDocumentSource1.AuthenticationType = AuthenticationType.Guest;

report-server-how-to-manage-scheduled-jobs-from-a-windows-forms-application/VB/ScheduledTasksAPIClientDemo/ReportViewerForm.vb#L11

vb
InitializeComponent()
remoteDocumentSource1.ServiceUri = MainForm.ServerAddress
remoteDocumentSource1.AuthenticationType = AuthenticationType.Guest

See Also

How to: Preview, Export and Print a Remotely Created Document

AuthenticationType

RemoteDocumentSource Class

RemoteDocumentSource Members

DevExpress.ReportServer.Printing Namespace