<PackageReference Include="Microsoft.Data.SqlClient" Version="7.0.0-preview2.25289.6" />

Interop.Windows.NtDll.ObjectAttributes

OBJECT_ATTRIBUTES structure. The OBJECT_ATTRIBUTES structure specifies attributes that can be applied to objects or object handles by routines that create objects and/or return handles to objects.

public uint Length

public UnicodeString* ObjectName

Name of the object. Must be fully qualified if RootDirectory isn't set. Otherwise, is relative to RootDirectory.

public IntPtr RootDirectory

Optional handle to root object directory for the given ObjectName. Can be a file system directory or object manager directory.

If null, object will receive default security settings.

public SecurityQualityOfService* SecurityQoS

Optional quality of service to be applied to the object. Used to indicate security impersonation level and context tracking mode (dynamic or static).

public ObjectAttributes(UnicodeString* objectName, ObjectAttributeFlags attributes, IntPtr rootDirectory, SecurityQualityOfService* securityQos)

Equivalent of InitializeObjectAttributes macro with the exception that you can directly set SQOS.