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.