Volume.Name Property
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.
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