ConfigurationSetting 메서드 - SetUnattendedExecutionAccount

무인 보고서를 실행하는 데 사용되는 계정을 지정합니다.

구문

Public Sub SetUnattendedExecutionAccount(UserName as String, _  
    Password as String, ByRef HRESULT as Int32)  
public void SetUnattendedExecutionAccount (string UserName,   
    string Password, out Int32 HRESULT);  

매개 변수

UserName
무인 실행에 사용할 Windows 계정입니다.

암호
지정된 계정의 암호입니다.

HRESULT
[out] 호출의 성공 여부를 나타내는 값입니다.

반환 값

메서드 호출의 성공 또는 실패를 나타내는 HRESULT 를 반환합니다. 0 값은 메서드 호출이 성공했음을 나타냅니다. 0이 아닌 값은 오류가 발생했음을 나타냅니다.

설명

SetUnattendedExecutionAccount 메서드는 보고서 서버가 지정된 사용자로 로그인할 수 있는지 여부를 확인하지 않습니다.

SetUnattendedExecutionAccount 메서드를 사용하여 보고서 서버 Windows 서비스의 컨텍스트에서 무인 실행을 실행할 수는 없습니다.

요구 사항

네임스페이스:root\Microsoft\SqlServer\ReportServer\<InstanceName>\v13\Admin

참고 항목

MSReportServer_ConfigurationSetting 멤버