//
// Copyright (c) 2006 Microsoft Corporation. All rights reserved.
//
// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF
// ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO
// THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
// PARTICULAR PURPOSE.
//
using namespace System;
using namespace System::ComponentModel;
using namespace System::Management::Automation;
// Stop-Proc sample SnapIn functionality
namespace Microsoft
{
namespace Samples
{
namespace PowerShell
{
namespace Commands
{
///
/// PSSnapIn related information for Stop-Proc.
///
[RunInstaller(true)]
public ref class StopProcSnapIn : PSSnapIn
{
public:
#pragma region PSSnapIn overrides
///
/// Get a name for this PowerShell snap-in. This name will be used in registering
/// this PowerShell snap-in.
///
property String^ Name
{
virtual String^ get() override
{
return "StopProcMCPPPSSnapIn";
}
}
///
/// Vendor information for this PowerShell snap-in.
///
property String^ Vendor
{
virtual String^ get() override
{
return "Microsoft";
}
}
///
/// Description of this PowerShell snap-in.
///
property String^ Description
{
virtual String^ get() override
{
return "This is a PowerShell snap-in that includes the stop-proc cmdlet.";
}
}
#pragma endregion
};
}
}
}
}