你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
IStorageFileManagement.GetShareReference Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns a reference to a Microsoft.Azure.Storage.File.CloudFileShare object with the specified name.
public Microsoft.Azure.Storage.File.CloudFileShare GetShareReference (string shareName, DateTimeOffset? snapshotTime = default);
public Microsoft.WindowsAzure.Storage.File.CloudFileShare GetShareReference (string shareName, DateTimeOffset? snapshotTime = default);
abstract member GetShareReference : string * Nullable<DateTimeOffset> -> Microsoft.Azure.Storage.File.CloudFileShare
abstract member GetShareReference : string * Nullable<DateTimeOffset> -> Microsoft.WindowsAzure.Storage.File.CloudFileShare
Public Function GetShareReference (shareName As String, Optional snapshotTime As Nullable(Of DateTimeOffset) = Nothing) As CloudFileShare
Parameters
- shareName
- String
A string containing the name of the share.
- snapshotTime
- Nullable<DateTimeOffset>
Snapshot time to append.
Returns
A reference to a share.