SmoException Class
The SmoException class represents the exception that is raised when an error occurs during an SMO operation.
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
System::Exception
Microsoft.SqlServer.Management.Common::SqlServerManagementException
Microsoft.SqlServer.Management.Smo::SmoException
Microsoft.SqlServer.Management.Smo::CollectionNotAvailableException
Microsoft.SqlServer.Management.Smo::FailedOperationException
Microsoft.SqlServer.Management.Smo::InternalSmoErrorException
Microsoft.SqlServer.Management.Smo::InvalidRestorePlanException
Microsoft.SqlServer.Management.Smo::InvalidScriptingOptionException
Microsoft.SqlServer.Management.Smo::InvalidSmoOperationException
Microsoft.SqlServer.Management.Smo::InvalidVersionSmoOperationException
Microsoft.SqlServer.Management.Smo::MissingObjectException
Microsoft.SqlServer.Management.Smo::PropertyCannotBeRetrievedException
Microsoft.SqlServer.Management.Smo::PropertyNotSetException
Microsoft.SqlServer.Management.Smo::PropertyReadOnlyException
Microsoft.SqlServer.Management.Smo::PropertyTypeMismatchException
Microsoft.SqlServer.Management.Smo::PropertyWriteException
Microsoft.SqlServer.Management.Smo::ScriptWriterException
Microsoft.SqlServer.Management.Smo::ServiceRequestException
Microsoft.SqlServer.Management.Smo::SfcDependencyException
Microsoft.SqlServer.Management.Smo::UnknownPropertyException
Microsoft.SqlServer.Management.Smo::UnsupportedCompatLevelException
Microsoft.SqlServer.Management.Smo::UnsupportedEngineTypeException
Microsoft.SqlServer.Management.Smo::UnsupportedFeatureException
Microsoft.SqlServer.Management.Smo::UnsupportedObjectNameException
Microsoft.SqlServer.Management.Smo::UnsupportedVersionException
Microsoft.SqlServer.Management.Smo::WrongPropertyValueException
| Name | Description | |
|---|---|---|
![]() | SmoException() | Initializes a new instance of the SmoException class. |
![]() | SmoException(SerializationInfo^, StreamingContext) | Initializes a new instance of the SmoException class with the specified serialization information and streaming context. |
![]() | SmoException(String^) | Initializes a new instance of the SmoException class with the specified message. |
![]() | SmoException(String^, Exception^) | Initializes a new instance of the SmoException class with the specified message and specified inner exception. |
| Name | Description | |
|---|---|---|
![]() | Data | (Inherited from Exception.) |
![]() | HelpLink | Gets the Help link for further information from Microsoft about the SMO exception.(Overrides Exception::HelpLink.) |
![]() | HResult | (Inherited from Exception.) |
![]() | InnerException | (Inherited from Exception.) |
![]() | Message | (Inherited from Exception.) |
![]() ![]() | ProdVer | Gets the product version of the instance of SQL Server that generated the SMO exception. |
![]() | SmoExceptionType | Gets the type of SMO exception. |
![]() | Source | (Inherited from Exception.) |
![]() | StackTrace | (Inherited from Exception.) |
![]() | TargetSite | (Inherited from Exception.) |
| Name | Description | |
|---|---|---|
![]() | Equals(Object^) | (Inherited from Object.) |
![]() | Finalize() | (Inherited from Object.) |
![]() | GetBaseException() | (Inherited from Exception.) |
![]() | GetHashCode() | (Inherited from Object.) |
![]() | GetObjectData(SerializationInfo^, StreamingContext) | (Inherited from Exception.) |
![]() | GetType() | (Inherited from Exception.) |
![]() | MemberwiseClone() | (Inherited from Object.) |
![]() | SetHelpContext(String^) | Sets the Help context value for the referenced exception. |
![]() | ToString() | (Inherited from Exception.) |
| Name | Description | |
|---|---|---|
![]() | SerializeObjectState | (Inherited from Exception.) |
Any public static (Shared in Microsoft Visual Basic) members of this type are safe for multithreaded operations. Any instance members are not guaranteed to be thread safe.
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.





