다음을 통해 공유


Computer.Parent 속성

Gets the Utility object that is the parent of the Computer object.

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

구문

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

value = instance.Parent

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

속성 값

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

VC#

System.Console.WriteLine(computer.Parent);

VB

System.Console.WriteLine(computer.Parent)

PowerShell

Write-Host $computer.Parent 

참고 항목

참조

Computer 클래스

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