共用方式為


AuditSpecificationDetail.Principal 屬性

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

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
Public ReadOnly Property Principal As String 
    Get
'用途
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

屬性值

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

請參閱

參考

AuditSpecificationDetail 結構

Microsoft.SqlServer.Management.Smo 命名空間