Delen via


ReportServiceAuthentication.GetAuthenticationMode Method

Gets the authentication scheme used by the SharePoint Web application.

Namespace:  ReportServiceAuthentication
Assembly:  ReportServiceAuthentication (in ReportServiceAuthentication.dll)

Syntax

'Declaration
<SoapDocumentMethodAttribute("https://schemas.microsoft.com/sqlserver/2006/03/15/reporting/reportingservices/GetAuthenticationMode", RequestNamespace := "https://schemas.microsoft.com/sqlserver/2006/03/15/reporting/reportingservices",  _
    ResponseNamespace := "https://schemas.microsoft.com/sqlserver/2006/03/15/reporting/reportingservices",  _
    Use := SoapBindingUse.Literal, ParameterStyle := SoapParameterStyle.Wrapped)> _
Public Function GetAuthenticationMode As AuthenticationMode
'Usage
Dim instance As ReportServiceAuthentication
Dim returnValue As AuthenticationMode

returnValue = instance.GetAuthenticationMode()
[SoapDocumentMethodAttribute("https://schemas.microsoft.com/sqlserver/2006/03/15/reporting/reportingservices/GetAuthenticationMode", RequestNamespace = "https://schemas.microsoft.com/sqlserver/2006/03/15/reporting/reportingservices", 
    ResponseNamespace = "https://schemas.microsoft.com/sqlserver/2006/03/15/reporting/reportingservices", 
    Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)]
public AuthenticationMode GetAuthenticationMode()
[SoapDocumentMethodAttribute(L"https://schemas.microsoft.com/sqlserver/2006/03/15/reporting/reportingservices/GetAuthenticationMode", RequestNamespace = L"https://schemas.microsoft.com/sqlserver/2006/03/15/reporting/reportingservices", 
    ResponseNamespace = L"https://schemas.microsoft.com/sqlserver/2006/03/15/reporting/reportingservices", 
    Use = SoapBindingUse::Literal, ParameterStyle = SoapParameterStyle::Wrapped)]
public:
AuthenticationMode GetAuthenticationMode()
[<SoapDocumentMethodAttribute("https://schemas.microsoft.com/sqlserver/2006/03/15/reporting/reportingservices/GetAuthenticationMode", RequestNamespace = "https://schemas.microsoft.com/sqlserver/2006/03/15/reporting/reportingservices", 
    ResponseNamespace = "https://schemas.microsoft.com/sqlserver/2006/03/15/reporting/reportingservices", 
    Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)>]
member GetAuthenticationMode : unit -> AuthenticationMode 
public function GetAuthenticationMode() : AuthenticationMode

Return Value

Type: ReportServiceAuthentication.AuthenticationMode
A AuthenticationMode enumerator value that represents the authentication scheme that the SharePoint Web application is configured for.