ReportingService2006.GetModelDefinition(String) Method

Definition

Retrieves the definition for a model.

public:
 cli::array <System::Byte> ^ GetModelDefinition(System::String ^ Model);
public byte[] GetModelDefinition (string Model);
member this.GetModelDefinition : string -> byte[]
Public Function GetModelDefinition (Model As String) As Byte()

Parameters

Model
String

The fully qualified URL of the model including the file name and .smdl file name extension.

Returns

Byte[]

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

**SOAP Headers** (In) TrustedUserHeaderValue

(Out) ServerInfoHeaderValue

Required Permissions Microsoft.SharePoint.SPBasePermissions.OpenItems

The model definition as a Base 64-encoded byte array. For more information about this data type, see "Byte Structure" in the Microsoft .NET Framework documentation.

Applies to