Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Gets the Utility object that is the parent of the Computer object.
Namespace: Microsoft.SqlServer.Management.Utility
Assembly: Microsoft.SqlServer.Management.Utility (in Microsoft.SqlServer.Management.Utility.dll)
Syntax
'Declaration
<SfcObjectAttribute(SfcObjectRelationship.ParentObject, SfcObjectCardinality.One)> _
Public Property Parent As Utility
Get
Set
'Usage
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)
Property Value
Type: Microsoft.SqlServer.Management.Utility.Utility
A Utility value that specifies the parent of the Computer object.
Examples
VC#
System.Console.WriteLine(computer.Parent);
VB
System.Console.WriteLine(computer.Parent)
PowerShell
Write-Host $computer.Parent