Sprache

SearchModelFactory.KnowledgeSourceFileCapacity(Int32, Int32, Int64) Method

Definition

File upload capacity for a File knowledge source.

public static Azure.Search.Documents.Indexes.Models.KnowledgeSourceFileCapacity KnowledgeSourceFileCapacity(int maxFileCount = 0, int remainingFileCount = 0, long maxFileSizeBytes = 0);
static member KnowledgeSourceFileCapacity : int * int * int64 -> Azure.Search.Documents.Indexes.Models.KnowledgeSourceFileCapacity
Public Shared Function KnowledgeSourceFileCapacity (Optional maxFileCount As Integer = 0, Optional remainingFileCount As Integer = 0, Optional maxFileSizeBytes As Long = 0) As KnowledgeSourceFileCapacity

Parameters

maxFileCount
Int32

The maximum number of files allowed in the knowledge source.

remainingFileCount
Int32

The number of additional files that can be uploaded at the time of the request.

maxFileSizeBytes
Int64

The maximum size in bytes of an individual uploaded file.

Returns

A new KnowledgeSourceFileCapacity instance for mocking.

Applies to