ภาษา

SearchModelFactory.OneLakeSecuritySource(Guid, Guid) Method

Definition

Identifies the Microsoft Fabric OneLake lakehouse that an index's documents originate from, enabling OneLake document-level permissions for the index.

public static Azure.Search.Documents.Indexes.Models.OneLakeSecuritySource OneLakeSecuritySource(Guid fabricWorkspaceId = default, Guid lakehouseId = default);
static member OneLakeSecuritySource : Guid * Guid -> Azure.Search.Documents.Indexes.Models.OneLakeSecuritySource
Public Shared Function OneLakeSecuritySource (Optional fabricWorkspaceId As Guid = Nothing, Optional lakehouseId As Guid = Nothing) As OneLakeSecuritySource

Parameters

fabricWorkspaceId
Guid

The ID of the Microsoft Fabric workspace that contains the lakehouse.

lakehouseId
Guid

The ID of the OneLake lakehouse that the index's documents originate from.

Returns

A new OneLakeSecuritySource instance for mocking.

Applies to