CloudFileClient.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.
Overloads
GetShareReference(String) |
Returns a reference to a CloudFileShare object with the specified name. |
GetShareReference(String, Nullable<DateTimeOffset>) |
Returns a reference to a CloudFileShare object with the specified name and snapshot time. |
GetShareReference(String)
Returns a reference to a CloudFileShare object with the specified name.
public virtual Microsoft.Azure.Storage.File.CloudFileShare GetShareReference (string shareName);
abstract member GetShareReference : string -> Microsoft.Azure.Storage.File.CloudFileShare
override this.GetShareReference : string -> Microsoft.Azure.Storage.File.CloudFileShare
Public Overridable Function GetShareReference (shareName As String) As CloudFileShare
Parameters
- shareName
- String
A string containing the name of the share.
Returns
A reference to a share.
Applies to
GetShareReference(String, Nullable<DateTimeOffset>)
Returns a reference to a CloudFileShare object with the specified name and snapshot time.
public Microsoft.Azure.Storage.File.CloudFileShare GetShareReference (string shareName, DateTimeOffset? snapshotTime);
member this.GetShareReference : string * Nullable<DateTimeOffset> -> Microsoft.Azure.Storage.File.CloudFileShare
Public Function GetShareReference (shareName As String, snapshotTime As Nullable(Of DateTimeOffset)) As CloudFileShare
Parameters
- shareName
- String
A string containing the name of the share.
- snapshotTime
- Nullable<DateTimeOffset>
A DateTimeOffset specifying the snapshot timestamp, if the share is a snapshot.
Returns
A reference to a share.
Applies to
Azure SDK for .NET