你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
ShareModelFactory.ShareFileHandle 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
创建新的 ShareFileHandle 实例进行模拟。
public static Azure.Storage.Files.Shares.Models.ShareFileHandle ShareFileHandle (string handleId, string path, string fileId, string sessionId, string clientIp, string clientName, string parentId = default, DateTimeOffset? openedOn = default, DateTimeOffset? lastReconnectedOn = default, Azure.Storage.Files.Shares.Models.ShareFileHandleAccessRights? accessRights = default);
static member ShareFileHandle : string * string * string * string * string * string * string * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Nullable<Azure.Storage.Files.Shares.Models.ShareFileHandleAccessRights> -> Azure.Storage.Files.Shares.Models.ShareFileHandle
Public Shared Function ShareFileHandle (handleId As String, path As String, fileId As String, sessionId As String, clientIp As String, clientName As String, Optional parentId As String = Nothing, Optional openedOn As Nullable(Of DateTimeOffset) = Nothing, Optional lastReconnectedOn As Nullable(Of DateTimeOffset) = Nothing, Optional accessRights As Nullable(Of ShareFileHandleAccessRights) = Nothing) As ShareFileHandle
参数
- handleId
- String
- path
- String
- fileId
- String
- sessionId
- String
- clientIp
- String
- clientName
- String
- parentId
- String
- openedOn
- Nullable<DateTimeOffset>
- lastReconnectedOn
- Nullable<DateTimeOffset>
- accessRights
- Nullable<ShareFileHandleAccessRights>