Proprietà Parent
Gets or sets the Utility object that is the parent of the ManagedInstance object.
Spazio dei nomi Microsoft.SqlServer.Management.Utility
Assembly: Microsoft.SqlServer.Management.Utility (in Microsoft.SqlServer.Management.Utility.dll)
Sintassi
'Dichiarazione
<SfcObjectAttribute(SfcObjectRelationship.ParentObject, SfcObjectCardinality.One)> _
Public Property Parent As Utility
Get
Set
'Utilizzo
Dim instance As ManagedInstance
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)
Valore proprietà
Tipo: Microsoft.SqlServer.Management.Utility. . :: . .Utility
A Utility value that specifies the parent of the ManagedInstance object.
Esempi
VC#
ManagedInstance managedInstance;
managedInstance = new ManagedInstance();
System.Console.WriteLine(managedInstance.Parent);
VB
Dim managedInstance As ManagedInstance
managedInstance = New ManagedInstance()
System.Console.WriteLine(managedInstance.Parent)
PowerShell
$managedInstance = New-Object Microsoft.SqlServer.Management.Utility.ManagedInstance
Write-Host $managedInstance.Parent
Vedere anche