Share via


Volume.Name Property

Definition

Gets the String value that specifies the name of the volume.

public:
 property System::String ^ Name { System::String ^ get(); };
[Microsoft.SqlServer.Management.Sdk.Sfc.Metadata.SfcKey(0)]
[Microsoft.SqlServer.Management.Sdk.Sfc.Metadata.SfcProperty(Microsoft.SqlServer.Management.Sdk.Sfc.Metadata.SfcPropertyFlags.Data)]
public string Name { get; }
[<Microsoft.SqlServer.Management.Sdk.Sfc.Metadata.SfcKey(0)>]
[<Microsoft.SqlServer.Management.Sdk.Sfc.Metadata.SfcProperty(Microsoft.SqlServer.Management.Sdk.Sfc.Metadata.SfcPropertyFlags.Data)>]
member this.Name : string
Public ReadOnly Property Name As String

Property Value

A String value that specifies the name of the volume.

Attributes

Examples

VC#

System.Console.WriteLine(volume.Name);  

VB

System.Console.WriteLine(volume.Name)  

PowerShell

Write-Host $volume.Name   

Applies to