你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
CloudFileShare 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
CloudFileShare(Uri)
初始化 CloudFileShare 类的新实例。
public CloudFileShare (Uri shareAddress);
new Microsoft.Azure.Storage.File.CloudFileShare : Uri -> Microsoft.Azure.Storage.File.CloudFileShare
Public Sub New (shareAddress As Uri)
参数
- shareAddress
- Uri
共享的绝对 URI。
适用于
CloudFileShare(StorageUri, StorageCredentials)
初始化 CloudFileShare 类的新实例。
public CloudFileShare (Microsoft.Azure.Storage.StorageUri shareAddress, Microsoft.Azure.Storage.Auth.StorageCredentials credentials);
new Microsoft.Azure.Storage.File.CloudFileShare : Microsoft.Azure.Storage.StorageUri * Microsoft.Azure.Storage.Auth.StorageCredentials -> Microsoft.Azure.Storage.File.CloudFileShare
Public Sub New (shareAddress As StorageUri, credentials As StorageCredentials)
参数
- shareAddress
- StorageUri
共享的绝对 URI。
- credentials
- StorageCredentials
适用于
CloudFileShare(Uri, StorageCredentials)
初始化 CloudFileShare 类的新实例。
public CloudFileShare (Uri shareAddress, Microsoft.Azure.Storage.Auth.StorageCredentials credentials);
new Microsoft.Azure.Storage.File.CloudFileShare : Uri * Microsoft.Azure.Storage.Auth.StorageCredentials -> Microsoft.Azure.Storage.File.CloudFileShare
Public Sub New (shareAddress As Uri, credentials As StorageCredentials)
参数
- shareAddress
- Uri
共享的绝对 URI。
- credentials
- StorageCredentials
适用于
CloudFileShare(StorageUri, Nullable<DateTimeOffset>, StorageCredentials)
初始化 CloudFileShare 类的新实例。
public CloudFileShare (Microsoft.Azure.Storage.StorageUri shareAddress, DateTimeOffset? snapshotTime, Microsoft.Azure.Storage.Auth.StorageCredentials credentials);
new Microsoft.Azure.Storage.File.CloudFileShare : Microsoft.Azure.Storage.StorageUri * Nullable<DateTimeOffset> * Microsoft.Azure.Storage.Auth.StorageCredentials -> Microsoft.Azure.Storage.File.CloudFileShare
Public Sub New (shareAddress As StorageUri, snapshotTime As Nullable(Of DateTimeOffset), credentials As StorageCredentials)
参数
- shareAddress
- StorageUri
共享的绝对 URI。
- snapshotTime
- Nullable<DateTimeOffset>
如果DateTimeOffset共享是快照,则指定快照时间戳。
- credentials
- StorageCredentials
适用于
CloudFileShare(Uri, Nullable<DateTimeOffset>, StorageCredentials)
初始化 CloudFileShare 类的新实例。
public CloudFileShare (Uri shareAddress, DateTimeOffset? snapshotTime, Microsoft.Azure.Storage.Auth.StorageCredentials credentials);
new Microsoft.Azure.Storage.File.CloudFileShare : Uri * Nullable<DateTimeOffset> * Microsoft.Azure.Storage.Auth.StorageCredentials -> Microsoft.Azure.Storage.File.CloudFileShare
Public Sub New (shareAddress As Uri, snapshotTime As Nullable(Of DateTimeOffset), credentials As StorageCredentials)
参数
- shareAddress
- Uri
共享的绝对 URI。
- snapshotTime
- Nullable<DateTimeOffset>
如果DateTimeOffset共享是快照,则指定快照时间戳。
- credentials
- StorageCredentials