UpdateLink Method
Updates a request or download link.
Syntax
public void updateLink(String linkId);
Remarks
This method updates the link information for a link identified by LinkId. The the component requires the link to be in the Links collection and be modified from there.
The following properties can be updated from the ShareFileLink type:
- ExpirationDate
- MaxDownloads
- Name
- RequireLogin
- Title
// Updates a link to require login. shareFile.Links[1].RequireLogin = true; shareFile.UpdateLink(shareFile.Links[1].Id);