Поделиться через


Свойство Volume.Name

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

Пространство имен:  Microsoft.SqlServer.Management.Utility
Сборка:  Microsoft.SqlServer.Management.Utility (в Microsoft.SqlServer.Management.Utility.dll)

Синтаксис

'Декларация
<SfcPropertyAttribute(SfcPropertyFlags.Data)> _
<SfcKeyAttribute()> _
Public ReadOnly Property Name As String 
    Get
'Применение
Dim instance As Volume 
Dim value As String 

value = instance.Name
[SfcPropertyAttribute(SfcPropertyFlags.Data)]
[SfcKeyAttribute()]
public string Name { get; }
[SfcPropertyAttribute(SfcPropertyFlags::Data)]
[SfcKeyAttribute()]
public:
property String^ Name {
    String^ get ();
}
[<SfcPropertyAttribute(SfcPropertyFlags.Data)>]
[<SfcKeyAttribute()>]
member Name : string
function get Name () : String

Значение свойства

Тип: System.String
A String value that specifies the name of the volume.

Примеры

VC#

System.Console.WriteLine(volume.Name);

VB

System.Console.WriteLine(volume.Name)

PowerShell

Write-Host $volume.Name 

См. также

Справочник

Volume Класс

Пространство имен Microsoft.SqlServer.Management.Utility