다음을 통해 공유


Volume.Parent 속성

Gets the Computer object value that specifies is the parent of the Volume object.

네임스페이스:  Microsoft.SqlServer.Management.Utility
어셈블리:  Microsoft.SqlServer.Management.Utility(Microsoft.SqlServer.Management.Utility.dll)

구문

‘선언
<SfcObjectAttribute(SfcObjectRelationship.ParentObject, SfcObjectCardinality.One)> _
Public Property Parent As Computer 
    Get 
    Set
‘사용 방법
Dim instance As Volume 
Dim value As Computer 

value = instance.Parent

instance.Parent = value
[SfcObjectAttribute(SfcObjectRelationship.ParentObject, SfcObjectCardinality.One)]
public Computer Parent { get; set; }
[SfcObjectAttribute(SfcObjectRelationship::ParentObject, SfcObjectCardinality::One)]
public:
property Computer^ Parent {
    Computer^ get ();
    void set (Computer^ value);
}
[<SfcObjectAttribute(SfcObjectRelationship.ParentObject, SfcObjectCardinality.One)>]
member Parent : Computer with get, set
function get Parent () : Computer 
function set Parent (value : Computer)

속성 값

유형: Microsoft.SqlServer.Management.Utility.Computer
A Computer object value that is the parent of the Volume object.

VC#

System.Console.WriteLine(volume.Parent);

VB

System.Console.WriteLine(volume.Parent)

PowerShell

Write-Host $volume.Parent 

참고 항목

참조

Volume 클래스

Microsoft.SqlServer.Management.Utility 네임스페이스