Type: Scalar function

Used to display an existing file for the File control.

Return value: varbinary(max)

Binary data representing the existing file.


@FileId mandatory nvarchar(300)
Id to identify the file if it is unchanged.
@Filename mandatory nvarchar(300)
Name of the file.
@ContentType mandatory nvarchar(300)
Content type of the file.
@ContentSize mandatory bigint
Size of the file.