Share via


SetSqlServerAuditCmdlet<ServerAuditPolicyType,ServerAuditModelType,ServerAuditAdapterType>.EventHubTargetState Property

Definition

[System.Management.Automation.Parameter(HelpMessage="Indicates whether event hub is a destination for audit records.", Mandatory=false)]
[System.Management.Automation.ValidateNotNullOrEmpty]
[System.Management.Automation.ValidateSet(new System.String[] { "Enabled", "Disabled" }, IgnoreCase=false)]
public string EventHubTargetState { get; set; }
[<System.Management.Automation.Parameter(HelpMessage="Indicates whether event hub is a destination for audit records.", Mandatory=false)>]
[<System.Management.Automation.ValidateNotNullOrEmpty>]
[<System.Management.Automation.ValidateSet(new System.String[] { "Enabled", "Disabled" }, IgnoreCase=false)>]
member this.EventHubTargetState : string with get, set
Public Property EventHubTargetState As String

Property Value

Attributes

Applies to