1
0
mirror of https://github.com/Microsoft/sql-server-samples.git synced 2025-12-08 14:58:54 +00:00
Files
sql-server-samples/samples/features/master-data-services/ModelDeployment/Modes.cs
2016-04-28 19:14:12 -07:00

61 lines
1.7 KiB
C#

//==============================================================================
//
// Copyright (c) Microsoft. All rights reserved.
// This code is licensed under the Microsoft Public License.
// THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF
// ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY
// IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR
// PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT.
//
//==============================================================================
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ModelDUtil
{
/// <summary>
/// The various "modes" of the utility console app. The app will run in
/// exactly one of these modes each execution.
/// </summary>
public enum Modes
{
/// <summary>
/// Used to export a model to a package file.
/// </summary>
CreatePackage,
/// <summary>
/// Used to deploy a clone of a model in a package.
/// </summary>
DeployClone,
/// <summary>
/// Used to deploy a copy of a model in a package, under a new name.
/// </summary>
DeployNew,
/// <summary>
/// Used to update an existing model from a package.
/// </summary>
DeployUpdate,
/// <summary>
/// Used to list all the models in the system.
/// </summary>
ListModels,
/// <summary>
/// Used to list all the versions for a selected model.
/// </summary>
ListVersions,
/// <summary>
/// Used to display the usage instructions.
/// </summary>
Help
}
}