SqlCommand
Represents a Transact-SQL statement or stored procedure to execute against a SQL Server database. This class cannot be inherited.
                using System.Data.Common;
using System.Data.Sql;
using System.Threading;
using System.Threading.Tasks;
using System.Xml;
namespace System.Data.SqlClient
{
    public sealed class SqlCommand : DbCommand, ICloneable
    {
        public override string CommandText {
            get {
                throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient);
            }
            set {
                throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient);
            }
        }
        public override int CommandTimeout {
            get {
                throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient);
            }
            set {
                throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient);
            }
        }
        public override CommandType CommandType {
            get {
                throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient);
            }
            set {
                throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient);
            }
        }
        public new SqlConnection Connection {
            get {
                throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient);
            }
            set {
                throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient);
            }
        }
        protected override DbConnection DbConnection {
            get {
                throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient);
            }
            set {
                throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient);
            }
        }
        protected override DbParameterCollection DbParameterCollection {
            get {
                throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient);
            }
        }
        protected override DbTransaction DbTransaction {
            get {
                throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient);
            }
            set {
                throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient);
            }
        }
        public override bool DesignTimeVisible {
            get {
                throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient);
            }
            set {
                throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient);
            }
        }
        public SqlNotificationRequest Notification {
            get {
                throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient);
            }
            set {
                throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient);
            }
        }
        public new SqlParameterCollection Parameters {
            get {
                throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient);
            }
        }
        public new SqlTransaction Transaction {
            get {
                throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient);
            }
            set {
                throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient);
            }
        }
        public override UpdateRowSource UpdatedRowSource {
            get {
                throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient);
            }
            set {
                throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient);
            }
        }
        public event StatementCompletedEventHandler StatementCompleted {
            add {
            }
            remove {
            }
        }
        public SqlCommand()
        {
            throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient);
        }
        public SqlCommand(string cmdText)
        {
            throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient);
        }
        public SqlCommand(string cmdText, SqlConnection connection)
        {
            throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient);
        }
        public SqlCommand(string cmdText, SqlConnection connection, SqlTransaction transaction)
        {
            throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient);
        }
        public IAsyncResult BeginExecuteNonQuery()
        {
            throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient);
        }
        public IAsyncResult BeginExecuteNonQuery(AsyncCallback callback, object stateObject)
        {
            throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient);
        }
        public IAsyncResult BeginExecuteReader()
        {
            throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient);
        }
        public IAsyncResult BeginExecuteReader(AsyncCallback callback, object stateObject)
        {
            throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient);
        }
        public IAsyncResult BeginExecuteReader(AsyncCallback callback, object stateObject, CommandBehavior behavior)
        {
            throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient);
        }
        public IAsyncResult BeginExecuteReader(CommandBehavior behavior)
        {
            throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient);
        }
        public IAsyncResult BeginExecuteXmlReader()
        {
            throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient);
        }
        public IAsyncResult BeginExecuteXmlReader(AsyncCallback callback, object stateObject)
        {
            throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient);
        }
        public override void Cancel()
        {
            throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient);
        }
        public SqlCommand Clone()
        {
            throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient);
        }
        protected override DbParameter CreateDbParameter()
        {
            throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient);
        }
        public new SqlParameter CreateParameter()
        {
            throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient);
        }
        protected override void Dispose(bool disposing)
        {
        }
        public int EndExecuteNonQuery(IAsyncResult asyncResult)
        {
            throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient);
        }
        public SqlDataReader EndExecuteReader(IAsyncResult asyncResult)
        {
            throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient);
        }
        public XmlReader EndExecuteXmlReader(IAsyncResult asyncResult)
        {
            throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient);
        }
        protected override DbDataReader ExecuteDbDataReader(CommandBehavior behavior)
        {
            throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient);
        }
        protected override Task<DbDataReader> ExecuteDbDataReaderAsync(CommandBehavior behavior, CancellationToken cancellationToken)
        {
            throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient);
        }
        public override int ExecuteNonQuery()
        {
            throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient);
        }
        public override Task<int> ExecuteNonQueryAsync(CancellationToken cancellationToken)
        {
            throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient);
        }
        public new SqlDataReader ExecuteReader()
        {
            throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient);
        }
        public new SqlDataReader ExecuteReader(CommandBehavior behavior)
        {
            throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient);
        }
        public new Task<SqlDataReader> ExecuteReaderAsync()
        {
            throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient);
        }
        public new Task<SqlDataReader> ExecuteReaderAsync(CommandBehavior behavior)
        {
            throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient);
        }
        public new Task<SqlDataReader> ExecuteReaderAsync(CommandBehavior behavior, CancellationToken cancellationToken)
        {
            throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient);
        }
        public new Task<SqlDataReader> ExecuteReaderAsync(CancellationToken cancellationToken)
        {
            throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient);
        }
        public override object ExecuteScalar()
        {
            throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient);
        }
        public override Task<object> ExecuteScalarAsync(CancellationToken cancellationToken)
        {
            throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient);
        }
        public XmlReader ExecuteXmlReader()
        {
            throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient);
        }
        public Task<XmlReader> ExecuteXmlReaderAsync()
        {
            throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient);
        }
        public Task<XmlReader> ExecuteXmlReaderAsync(CancellationToken cancellationToken)
        {
            throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient);
        }
        public override void Prepare()
        {
            throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient);
        }
        public void ResetCommandTimeout()
        {
            throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient);
        }
        object ICloneable.Clone()
        {
            throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient);
        }
    }
}