corelibraries-devexpress-dot-reportserver-dot-printing-dot-remotedocumentsource-676bc58c.md
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
[DefaultValue(null)]
public string ServiceUri { get; set; }
<DefaultValue(Nothing)>
Public Property ServiceUri As String
| Type | Default | Description |
|---|---|---|
| String | null |
A String value, specifying the document source URI.
|
To assign a remote document source to the DocumentViewer control, specify the following properties of the RemoteDocumentSource class.
The RemoteDocumentSource.AuthenticationType property.
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.
InitializeComponent();
remoteDocumentSource1.ServiceUri = MainForm.ServerAddress;
remoteDocumentSource1.AuthenticationType = AuthenticationType.Guest;
InitializeComponent()
remoteDocumentSource1.ServiceUri = MainForm.ServerAddress
remoteDocumentSource1.AuthenticationType = AuthenticationType.Guest
See Also
How to: Preview, Export and Print a Remotely Created Document