Volume 생성자

정의

Microsoft.SqlServer.Management.Fabric.Volume 클래스의 새 인스턴스를 초기화합니다.

오버로드

Volume()

Volume 클래스의 새 인스턴스를 초기화합니다.

Volume(Computer, String)

지정한 연결을 사용하여 Volume 클래스의 새 인스턴스를 초기화합니다.

Volume()

Volume 클래스의 새 인스턴스를 초기화합니다.

public:
 Volume();
public Volume ();
Public Sub New ()

예제

Vc #

Volume volume;  
volume = new Volume();  

VB

Dim volume As Volume  
volume = New Volume()  

PowerShell

$volume = New-Object Microsoft.SqlServer.Management.Fabric.Volume()  

설명

기본 생성자는 모든 필드를 기본값으로 초기화합니다.

적용 대상

Volume(Computer, String)

지정한 연결을 사용하여 Volume 클래스의 새 인스턴스를 초기화합니다.

public:
 Volume(Microsoft::SqlServer::Management::Utility::Computer ^ parent, System::String ^ name);
public Volume (Microsoft.SqlServer.Management.Utility.Computer parent, string name);
new Microsoft.SqlServer.Management.Utility.Volume : Microsoft.SqlServer.Management.Utility.Computer * string -> Microsoft.SqlServer.Management.Utility.Volume
Public Sub New (parent As Computer, name As String)

매개 변수

parent
Computer

Volume 개체의 부모인 컴퓨터를 지정하는 Volume 값입니다.

name
String

볼륨의 이름을 지정하는 String 값입니다.

예제

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")  

설명

볼륨의 이름과 볼륨이 있는 컴퓨터의 이름을 제공합니다.

적용 대상