Skip to content

Latest commit

 

History

History
60 lines (44 loc) · 2.4 KB

configurationsetting-property-databaselogontype.md

File metadata and controls

60 lines (44 loc) · 2.4 KB
title description author ms.author ms.date ms.service ms.subservice ms.topic ms.custom helpviewer_keywords apilocation apiname apitype
DatabaseLogonType property (WMI MSReportServer_ConfigurationSetting)
DatabaseLogonType property (WMI MSReportServer_ConfigurationSetting)
maggiesMSFT
maggies
03/14/2017
reporting-services
wmi-provider-library-reference
conceptual
updatefrequency5
DatabaseLogonType property
reportingservices.mof
DatabaseLogonType
MOFDef

ConfigurationSetting property - DatabaseLogonType

Read-only. Specifies whether the report server uses:

  • A [!INCLUDEmsCoName] Windows service account
  • A Windows user account
  • A [!INCLUDEssNoVersion] sign in to access the report server database.

Syntax

Public Dim DatabaseLogonType As Integer  
public int DatabaseLogonType;  

Property values

An integer object that represents the sign in type.

Example code

MSReportServer_ConfigurationSetting class

Remarks

Values are:

  • 0 for Windows sign in

  • 1 for [!INCLUDEssNoVersion] sign in

  • 2 to sign in as a service

If you specify 0 (Windows), you must set the value in the DatabaseLogonAccount property to a corresponding a valid Windows user account.

If you specify 1 (SQL Server), make sure the value of the DatabaseLogonAccount corresponds to a valid [!INCLUDEssNoVersion] sign in.

If you specify 2 (Windows service), the report server uses an [!INCLUDEvstecasp] account and the Windows service account to access the report server database. The DatabaseLogonAccount property is ignored.

Requirements

Namespace: [!INCLUDEssRSWMInmspcA]

Related content

MSReportServer_ConfigurationSetting members