Share via


DeployedDac.Parent Property

Gets the SQL Server Utility object that is the parent of the DeployedDac 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 ReadOnly Property Parent As Utility
    Get
'Usage
Dim instance As DeployedDac
Dim value As Utility

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

Property Value

Type: Microsoft.SqlServer.Management.Utility.Utility
A Utility value that specifies the parent of the DeployedDac object.

Examples

VC#

System.Console.WriteLine(deployedDac.Parent);

VB

System.Console.WriteLine(deployedDac.Parent)

PowerShell

Write-Host $deployedDac.Parent