Dela via


IStorageFileManagement.GetShareReference Method

Definition

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.

Applies to