Share via


AuditSpecificationDetail.Principal Property

Gets the name of the principal to be monitored during the audit.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
Public ReadOnly Property Principal As String
    Get
'Usage
Dim instance As AuditSpecificationDetail
Dim value As String

value = instance.Principal
public string Principal { get; }
public:
property String^ Principal {
    String^ get ();
}
member Principal : string
function get Principal () : String

Property Value

Type: System.String
A String object value that specifies the name of the principal to be monitored during the audit.