Volume 생성자 (Computer, String)
Initializes a new instance of the Volume class with the specified connection.
네임스페이스: Microsoft.SqlServer.Management.Utility
어셈블리: Microsoft.SqlServer.Management.Utility(Microsoft.SqlServer.Management.Utility.dll)
구문
‘선언
Public Sub New ( _
parent As Computer, _
name As String _
)
‘사용 방법
Dim parent As Computer
Dim name As String
Dim instance As New Volume(parent, _
name)
public Volume(
Computer parent,
string name
)
public:
Volume(
Computer^ parent,
String^ name
)
new :
parent:Computer *
name:string -> Volume
public function Volume(
parent : Computer,
name : String
)
매개 변수
- parent
유형: Microsoft.SqlServer.Management.Utility. . :: . .Computer
A Computer value that specifies the computer that is the parent of the Volume object.
- name
유형: System. . :: . .String
A String value that specifies the name of the volume.
주의
Provide the name of the volume and the computer that the volume is on.
예
VC#
Volume volume;
volume = new Volume(computer, "Volume_1");
VB
Dim volume As Volume
volume = New Volume(computer, "Volume_1")
PowerShell
$volume = New-Object Microsoft.SqlServer.Management.Common.Volume(computer, "Volume_1")