共用方式為


Parent 屬性

Gets the SQL Server Utility object that is the parent of the DeployedDac object.

命名空間:  Microsoft.SqlServer.Management.Utility
組件:  Microsoft.SqlServer.Management.Utility (在 Microsoft.SqlServer.Management.Utility.dll 中)

語法

'宣告
<SfcObjectAttribute(SfcObjectRelationship.ParentObject, SfcObjectCardinality.One)> _
Public ReadOnly Property Parent As Utility
    Get
'用途
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

屬性值

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

範例

VC#

System.Console.WriteLine(deployedDac.Parent);

VB

System.Console.WriteLine(deployedDac.Parent)

PowerShell

Write-Host $deployedDac.Parent