ManagedInstance.AgentProxyAccount 속성

정의

SQL Server 인스턴스에서 예약된 작업을 실행하는 데 사용되는 SQL Server 에이전트 프록시 계정을 가져옵니다.

public:
 property System::String ^ AgentProxyAccount { System::String ^ get(); };
[Microsoft.SqlServer.Management.Sdk.Sfc.Metadata.SfcProperty(Microsoft.SqlServer.Management.Sdk.Sfc.Metadata.SfcPropertyFlags.Data | Microsoft.SqlServer.Management.Sdk.Sfc.Metadata.SfcPropertyFlags.Required)]
public string AgentProxyAccount { get; }
[<Microsoft.SqlServer.Management.Sdk.Sfc.Metadata.SfcProperty(Microsoft.SqlServer.Management.Sdk.Sfc.Metadata.SfcPropertyFlags.Data | Microsoft.SqlServer.Management.Sdk.Sfc.Metadata.SfcPropertyFlags.Required)>]
member this.AgentProxyAccount : string
Public ReadOnly Property AgentProxyAccount As String

속성 값

SQL Server 에이전트 프록시 계정의 이름을 지정하는 String 값입니다.

특성

예제

Vc #

AgentProxyAccount agentProxyAccount;  
agentProxyAccount = new AgentProxyAccount ();  
System.Console.WriteLine(agentProxyAccount.DateCreated);  

VB

Dim agentProxyAccount As AgentProxyAccount  
agentProxyAccount = New AgentProxyAccount ()   
System.Console.WriteLine(agentProxyAccount.DateCreated)  

PowerShell

$agentProxyAccount = New-Object Microsoft.SqlServer.Management.Utility.AgentProxyAccount  
Write-Host $agentProxyAccount.DateCreated   

설명

SQL Server 에이전트 프록시 계정을 사용하여 SQL Server 인스턴스에서 예약된 정책 검사를 실행할 수 있습니다.

적용 대상