次の方法で共有


ITestEnvironment.MachineRoles プロパティ

このテスト環境に存在するコンピューター ロールのコレクションを取得または設定します。

名前空間:  Microsoft.TeamFoundation.TestManagement.Client
アセンブリ:  Microsoft.TeamFoundation.TestManagement.Client (Microsoft.TeamFoundation.TestManagement.Client.dll 内)

構文

'宣言
ReadOnly Property MachineRoles As IMachineRoleCollection
    Get
IMachineRoleCollection MachineRoles { get; }
property IMachineRoleCollection^ MachineRoles {
    IMachineRoleCollection^ get ();
}
abstract MachineRoles : IMachineRoleCollection
function get MachineRoles () : IMachineRoleCollection

プロパティ値

型: Microsoft.TeamFoundation.TestManagement.Client.IMachineRoleCollection
このテスト環境に存在するコンピューター ロールのコレクション。

.NET Framework セキュリティ

  • 直前の呼び出し元に対する完全な信頼。 このメンバーは、部分的に信頼されているコードから使用することはできません。 詳細については、「部分信頼コードからのライブラリの使用」を参照してください。

参照

参照

ITestEnvironment インターフェイス

Microsoft.TeamFoundation.TestManagement.Client 名前空間

IMachineRoleCollection