共用方式為


ReportingService2005.GetUserModel 方法

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

命名空間:  ReportService2005
組件:  ReportService2005 (在 ReportService2005.dll 中)

語法

'宣告
Public Function GetUserModel ( _
    Model As String, _
    Perspective As String _
) As Byte()
'用途
Dim instance As ReportingService2005 
Dim Model As String 
Dim Perspective As String 
Dim returnValue As Byte()

returnValue = instance.GetUserModel(Model, _
    Perspective)
public byte[] GetUserModel(
    string Model,
    string Perspective
)
public:
array<unsigned char>^ GetUserModel(
    String^ Model, 
    String^ Perspective
)
member GetUserModel : 
        Model:string * 
        Perspective:string -> byte[] 
public function GetUserModel(
    Model : String, 
    Perspective : String
) : byte[]

參數

  • Model
    型別:System.String
    Full name of the model for which to retrieve user specific model definition.
  • Perspective
    型別:System.String
    The ID of the perspective for which to retrieve report model.

傳回值

型別:array<System.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.

備註

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.

請參閱

參考

ReportingService2005 類別

ReportService2005 命名空間

其他資源

在模型設計師中使用檢視方塊