SmoException Members

The SmoException class represents the exception raised when an error occurs during a SQL Server Management Objects (SMO) operation.

The following tables list the members exposed by the SmoException type.

Public Constructors

(see also Protected Constructors )

  Name Description
SmoException Overloaded. Initializes a new instance of the SmoException class.

Top

Protected Constructors

  Name Description
SmoException Overloaded. Initializes a new instance of the SmoException class.

Top

Public Properties

(see also Protected Properties )

  Name Description
ms220304.pubproperty(en-US,SQL.90).gif Data  (inherited from Exception )
ms220304.pubproperty(en-US,SQL.90).gif HelpLink Overridden. Gets the Help link for further information from Microsoft about the SQL Server Management Objects (SMO) exception.
ms220304.pubproperty(en-US,SQL.90).gif InnerException  (inherited from Exception )
ms220304.pubproperty(en-US,SQL.90).gif Message  (inherited from Exception )
ms220304.pubproperty(en-US,SQL.90).gifms220304.static(en-US,SQL.90).gif ProductName  Gets the name of the product that caused the exception. (inherited from SqlServerManagementException)
ms220304.pubproperty(en-US,SQL.90).gif SmoExceptionType Gets the type of SQL Server Management Objects (SMO) exception.
ms220304.pubproperty(en-US,SQL.90).gif Source  (inherited from Exception )
ms220304.pubproperty(en-US,SQL.90).gif StackTrace  (inherited from Exception )
ms220304.pubproperty(en-US,SQL.90).gif TargetSite  (inherited from Exception )

Top

Protected Properties

  Name Description
ms220304.protproperty(en-US,SQL.90).gif HResult  (inherited from Exception )
ms220304.protproperty(en-US,SQL.90).gifms220304.static(en-US,SQL.90).gif ProdVer Gets the product version of the instance of Microsoft SQL Server that generated the SQL Server Management Objects (SMO) exception.

Top

Public Methods

(see also Protected Methods )

  Name Description
ms220304.pubmethod(en-US,SQL.90).gif Equals  Overloaded. (inherited from Object )
ms220304.pubmethod(en-US,SQL.90).gif GetBaseException  (inherited from Exception )
ms220304.pubmethod(en-US,SQL.90).gif GetHashCode  (inherited from Object )
ms220304.pubmethod(en-US,SQL.90).gif GetObjectData  (inherited from Exception )
ms220304.pubmethod(en-US,SQL.90).gif GetType  (inherited from Exception )
ms220304.pubmethod(en-US,SQL.90).gifms220304.static(en-US,SQL.90).gif ReferenceEquals  (inherited from Object )
ms220304.pubmethod(en-US,SQL.90).gif ToString  (inherited from Exception )

Top

Protected Methods

  Name Description
ms220304.protmethod(en-US,SQL.90).gif Finalize  (inherited from Object )
ms220304.protmethod(en-US,SQL.90).gif MemberwiseClone  (inherited from Object )
ms220304.protmethod(en-US,SQL.90).gif SetHelpContext Sets the Help context value for the referenced exception.

Top

See Also

Reference

SmoException Class
Microsoft.SqlServer.Management.Smo Namespace

Other Resources

Handling SMO Exceptions