SetUnattendedExecutionAccount yöntemi (WMI MSReportServer_ConfigurationSetting)
İçin kullanılan hesabı belirtir yürütmek rapor katılımsız.
Sözdizimi
Public Sub SetUnattendedExecutionAccount(UserName as String, _
Password as String, ByRef HRESULT as Int32)
public void SetUnattendedExecutionAccount (string UserName,
string Password, out Int32 HRESULT);
Parametreler
UserName
Katılımsız yürütmeler için kullanılacak bir Windows hesabı.Password
Belirtilen hesap için parola.HRESULT
[Çıkış] Çağrı başarılı veya başarısız olup olmadığını gösteren değer.
Dönüş Değeri
Döndürür bir HRESULT gösteren başarı veya başarısızlık yöntem çağrısı.Bir 0 değeri, yöntem çağrısı başarılı olduğunu gösterir.Sıfır olmayan bir değer, bir hata oluştuğunu gösterir.
Açıklamalar
The SetUnattendedExecutionAccount method does not verify whether the report server can log in as the specified user.
Kullanmak mümkün değil SetUnattendedExecutionAccount yöntem rapor sunucusu içeriğinde katılımsız yürütmeler çalıştırmak içinWindows hizmet.
Gereksinimler
Ad alanı: root\Microsoft\SqlServer\ReportServer\RS_<EncodedInstanceName>\v10\Admin
Platform: Windows Server 2003, Datacenter Edition; Windows Server 2003, Enterprise Edition; Windows Server 2003, Standard Edition; Windows Vista; Windows XP Professional Service Pack 2 (SP2) veya Service Pack 1 (SP1) veya Windows 2000 (tüm sürümleri)