共用方式為


ReportServiceAuthentication.GetAuthenticationMode 方法

Gets the authentication scheme used by the SharePoint Web application.

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

語法

'宣告
<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
'用途
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

傳回值

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

請參閱

參考

ReportServiceAuthentication 類別

ReportServiceAuthentication 命名空間