SqlTriggerAttribute.cs source code in C# .NET

Source code for the .NET framework in C#

                        

Code:

/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Data / System / Data / Sql / SqlTriggerAttribute.cs / 1305376 / SqlTriggerAttribute.cs

                            //------------------------------------------------------------------------------ 
//  
//     Copyright (c) Microsoft Corporation. All Rights Reserved.
//     Information Contained Herein is Proprietary and Confidential.
//   
// [....]
// [....] 
// daltudov 
// [....]
// beysims 
// [....]
// vadimt
//-----------------------------------------------------------------------------
 
using System;
 
namespace Microsoft.SqlServer.Server { 

    [AttributeUsage(AttributeTargets.Method, AllowMultiple = false, Inherited = false), Serializable] 
    public sealed class SqlTriggerAttribute : System.Attribute {
        private string m_fName;
        private string m_fTarget;
        private string m_fEvent; 

        public SqlTriggerAttribute() { 
            // default values 
            m_fName = null;
            m_fTarget = null; 
            m_fEvent = null;
        }

        public string Name { 
            get {
                return m_fName; 
            } 
            set {
                m_fName = value; 
            }
        }

        public string Target { 
            get {
                return m_fTarget; 
            } 
            set {
                m_fTarget = value; 
            }
        }

        public string Event { 
            get {
                return m_fEvent; 
            } 
            set {
                m_fEvent = value; 
            }
        }
    }
} 


// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
// Copyright (c) Microsoft Corporation. All rights reserved.
                        

Link Menu

Network programming in C#, Network Programming in VB.NET, Network Programming in .NET
This book is available now!
Buy at Amazon US or
Buy at Amazon UK