System.ImportStreamWithUrlAccess(InStream, Text [, Integer]) Method
Version: Available or changed with runtime version 1.0.
Imports an object into a media container to be used in a temporary URL with a default expiration time.
Note
This method is supported only in Business Central on-premises.
Syntax
ID := System.ImportStreamWithUrlAccess(InStream: InStream, Filename: Text [, MinutesToExpire: Integer])
Note
This method can be invoked without specifying the data type name.
Parameters
InStream
Type: InStream
Input stream that contains the object to store as a media object.
Filename
Type: Text
File name to associate with the created media object.
[Optional] MinutesToExpire
Type: Integer
Number of minutes after which the object will expire.
Return Value
ID
Type: Guid
The ID of the media container, if the import is successful.
See Also
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈