다음을 통해 공유


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