DatabaseLogonType Property (WMI)

Specifies whether the report server uses a Microsoft Windows service account, a Windows user account, or a SQL Server login to access the report server database. Read-only.

Syntax

Public Dim DatabaseLogonType As Integer
public int DatabaseLogonType;

Property Values

An integer object that represents the login type.

Example Code

MSReportServer_ConfigurationSetting Class

MSReportServer_ConfigurationSettingForSharePoint Class

주의

Values are 0 for Windows login, 1 for a SQL Server login, and 2 to log in as a service. Specifying 0 (Windows) requires that the value in the DatabaseLogonAccount Property (WMI) property is set and corresponds to a valid Windows user account.

Specifying 1 (SQL Serer) requires that the value of the DatabaseLogonAccount corresponds to a valid SQL Server login.

Specifying 2 (Windows service) causes the report server to use an ASP.NET account and the Windows service account to access the report server database. The DatabaseLogonAccount property is ignored.

Requirements

Namespace:root\Microsoft\SqlServer\ReportServer\v9\Admin

Platform: Windows Server 2003 Datacenter Edition, Windows Server 2003 Enterprise Edition, Windows Server 2003 Standard Edition, Windows Vista, Windows XP Professional SP2(서비스 팩 2) 또는 SP1(서비스 팩 1), 또는 Windows 2000(모든 버전)

참고 항목

참조

MSReportServer_ConfigurationSetting Members
MSReportServer_ConfigurationSettingForSharePoint Members

도움말 및 정보

SQL Server 2005 지원 받기