Compartir a través de


Computer.Parent Propiedad

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

Espacio de nombres:  Microsoft.SqlServer.Management.Utility
Ensamblado:  Microsoft.SqlServer.Management.Utility (en Microsoft.SqlServer.Management.Utility.dll)

Sintaxis

'Declaración
<SfcObjectAttribute(SfcObjectRelationship.ParentObject, SfcObjectCardinality.One)> _
Public Property Parent As Utility 
    Get 
    Set
'Uso
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)

Valor de la propiedad

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

Ejemplos

VC#

System.Console.WriteLine(computer.Parent);

VB

System.Console.WriteLine(computer.Parent)

PowerShell

Write-Host $computer.Parent 

Vea también

Referencia

Computer Clase

Espacio de nombres Microsoft.SqlServer.Management.Utility