共用方式為


ReportingService2005.GetUserModel(String, String) Method

Definition

Returns the semantic portion of a model for the current user.

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

Parameters

Model
String

Full name of the model for which to retrieve user specific model definition.

Perspective
String

The ID of the perspective for which to retrieve report model.

Returns

Byte[]

A byte array containing the SMDL definition of the semantic parts of the model to which the user has permission. For more information about this data type, see "Byte Structure" in the Microsoft .NET Framework documentation.

Remarks

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

SOAP Headers (Out) ServerInfoHeaderValue
Required Permissions ReadProperties

The model definition returned is limited to the semantic parts of the model the user has permission to view or use.

When Perspective is supplied, the user model returned only reflects the model items the user has permission to see in that perspective.

Applies to