Metodo GetUserModel
Restituisce la parte semantica di un modello per l'utente corrente.
Spazio dei nomi ReportService2005
Assembly: ReportService2005 (in ReportService2005.dll)
Sintassi
'Dichiarazione
<SoapDocumentMethodAttribute("https://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices/GetUserModel", RequestNamespace := "https://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices", _
ResponseNamespace := "https://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices", _
Use := SoapBindingUse.Literal, ParameterStyle := SoapParameterStyle.Wrapped)> _
<SoapHeaderAttribute("ServerInfoHeaderValue", Direction := SoapHeaderDirection.Out)> _
Public Function GetUserModel ( _
Model As String, _
Perspective As String _
) As Byte()
'Utilizzo
Dim instance As ReportingService2005
Dim Model As String
Dim Perspective As String
Dim returnValue As Byte()
returnValue = instance.GetUserModel(Model, _
Perspective)
[SoapDocumentMethodAttribute("https://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices/GetUserModel", RequestNamespace = "https://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices",
ResponseNamespace = "https://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices",
Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)]
[SoapHeaderAttribute("ServerInfoHeaderValue", Direction = SoapHeaderDirection.Out)]
public byte[] GetUserModel(
string Model,
string Perspective
)
[SoapDocumentMethodAttribute(L"https://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices/GetUserModel", RequestNamespace = L"https://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices",
ResponseNamespace = L"https://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices",
Use = SoapBindingUse::Literal, ParameterStyle = SoapParameterStyle::Wrapped)]
[SoapHeaderAttribute(L"ServerInfoHeaderValue", Direction = SoapHeaderDirection::Out)]
public:
array<unsigned char>^ GetUserModel(
String^ Model,
String^ Perspective
)
[<SoapDocumentMethodAttribute("https://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices/GetUserModel", RequestNamespace = "https://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices",
ResponseNamespace = "https://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices",
Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)>]
[<SoapHeaderAttribute("ServerInfoHeaderValue", Direction = SoapHeaderDirection.Out)>]
member GetUserModel :
Model:string *
Perspective:string -> byte[]
public function GetUserModel(
Model : String,
Perspective : String
) : byte[]
Parametri
- Model
Tipo: System. . :: . .String
Nome completo del modello per il quale recuperare la definizione del modello specifica dell'utente.
- Perspective
Tipo: System. . :: . .String
ID della prospettiva per la quale recuperare il modello di report.
Valore restituito
Tipo: array<System. . :: . .Byte> [] () [] []
Matrice di byte contenente la definizione SMDL delle parti semantiche del modello per le quali l'utente dispone di autorizzazione. Per ulteriori informazioni su questo tipo di dati, vedere l'argomento relativo alla struttura dei byte nella documentazione di Microsoft .NET Framework.
Osservazioni
The table below shows header and permissions information on this operation.
SOAP Headers |
(Out) ServerInfoHeaderValue |
Required Permissions |
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.
Vedere anche