Computer.Parent プロパティ
Computer オブジェクトの親であるユーティリティ オブジェクトを取得します。
名前空間: Microsoft.SqlServer.Management.Utility
アセンブリ: Microsoft.SqlServer.Management.Utility (Microsoft.SqlServer.Management.Utility.dll)
構文
'宣言
<SfcObjectAttribute(SfcObjectRelationship.ParentObject, SfcObjectCardinality.One)> _
Public Property Parent As Utility
Get
Set
'使用
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)
プロパティ値
型: Microsoft.SqlServer.Management.Utility.Utility
Computer オブジェクトの親であることを示す Utility 値です。
使用例
VC#
System.Console.WriteLine(computer.Parent);
VB
System.Console.WriteLine(computer.Parent)
PowerShell
Write-Host $computer.Parent