Aracılığıyla paylaş


ReportingService2005.GetPolicies Yöntemi

rapor sunucusu veritabanı içindeki belirli bir öğe ile ilişkili ilkelerini döndürür.

Ad Alanı:  ReportService2005
Derleme:  ReportService2005 (ReportService2005 içinde.dll)

Sözdizimi

'Bildirim
<SoapHeaderAttribute("ServerInfoHeaderValue", Direction := SoapHeaderDirection.Out)> _
<SoapDocumentMethodAttribute("https://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices/GetPolicies", 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)> _
Public Function GetPolicies ( _
    Item As String, _
    <OutAttribute> ByRef InheritParent As Boolean _
) As Policy()
'Kullanım
Dim instance As ReportingService2005
Dim Item As String
Dim InheritParent As Boolean
Dim returnValue As Policy()

returnValue = instance.GetPolicies(Item, _
    InheritParent)
[SoapHeaderAttribute("ServerInfoHeaderValue", Direction = SoapHeaderDirection.Out)]
[SoapDocumentMethodAttribute("https://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices/GetPolicies", 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)]
public Policy[] GetPolicies(
    string Item,
    out bool InheritParent
)
[SoapHeaderAttribute(L"ServerInfoHeaderValue", Direction = SoapHeaderDirection::Out)]
[SoapDocumentMethodAttribute(L"https://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices/GetPolicies", 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)]
public:
array<Policy^>^ GetPolicies(
    String^ Item, 
    [OutAttribute] bool% InheritParent
)
[<SoapHeaderAttribute("ServerInfoHeaderValue", Direction = SoapHeaderDirection.Out)>]
[<SoapDocumentMethodAttribute("https://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices/GetPolicies", 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)>]
member GetPolicies : 
        Item:string * 
        InheritParent:bool byref -> Policy[] 
public function GetPolicies(
    Item : String, 
    InheritParent : boolean
) : Policy[]

Parametreler

  • InheritParent
    Tür: System.Boolean%
    A Boole öğe ilkeleri üst slaytından devralır olup olmadığını gösteren ifade.

Dönüş Değeri

Tür: array<ReportService2005.Policy[]
Bir dizi Policy nesneler içeren kullanıcıların ve rollerin ilişkili öğe.

Açıklamalar

Aşağıdaki tablo üstbilgi ve izinler bu işlemi gösterir.

soap üstbilgileri

(Giden)ServerInfoHeaderValue

Gerekli izinler

Öğe türüne bağlıdır: