Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
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.