Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Collapse the table of content
Expand the table of content
Expand Minimize

ReportingService2010::CreateLinkedItem Method (String^, String^, String^, array<Property^>^)


Adds a new linked item to the report server database.

Namespace:   ReportService2010
Assembly:  ReportService2010 (in ReportService2010.dll)

	RequestNamespace = "http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer", 
	ResponseNamespace = "http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer", 
	Use = SoapBindingUse::Literal, ParameterStyle = SoapParameterStyle::Wrapped)]
[SoapHeaderAttribute("ServerInfoHeaderValue", Direction = SoapHeaderDirection::Out)]
void CreateLinkedItem(
	String^ ItemPath,
	String^ Parent,
	String^ Link,
	array<Property^>^ Properties


Type: System::String^

The file name of the new linked item including the file name.

Type: System::String^

The fully qualified URL of the parent folder to which to add the new item.

Type: System::String^

The fully qualified URL of the item that will be used for the item definition.

Type: array<ReportService2010::Property^>^

An array of Property objects that defines the property names and values to set for the linked item.

The table below shows header and permissions information on this operation.

SOAP Header Usage

(In) TrustedUserHeaderValue

(Out) ServerInfoHeaderValue

Native Mode Required Permissions

CreateReport on Parent AND ReadProperties on ItemPath

SharePoint Mode Required Permissions

Not supported

The length of the Parent and Link parameters cannot exceed 260 characters; otherwise, a SOAP exception is thrown with the error code rsItemLengthExceeded.

The Parent and Link parameters cannot be null or empty or contain the following reserved characters: : ? ; @ & = + $ , \ * > < | . ". You can use the forward slash character (/) to separate items in the full path name of the folder, but you cannot use it at the end of the folder name

A linked item has the same properties as a standard catalog item, but it does not contain its own item definition. A linked item cannot reference another linked item.

The creator of a linked item must have permission to read the definition of the item that the linked item references; however, this level of permission is not required to run a linked item.

Using the CreateLinkedItem method changes the ModifiedBy and ModifiedDate properties of the parent folder.

To compile this code example, you must reference the Reporting Services WSDL and import certain namespaces. For more information, see . The following code example creates a linked report:317946aa-8e95-4f0b-8170-394c9d5e184e

No code example is currently available or this language may not be supported.
Return to top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
© 2015 Microsoft