مشاركة عبر


SmoException Class

The SmoException class represents the exception that is raised when an error occurs during an SMO operation.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
<SerializableAttribute> _
Public Class SmoException _
    Inherits SqlServerManagementException
'Usage
Dim instance As SmoException
[SerializableAttribute]
public class SmoException : SqlServerManagementException
[SerializableAttribute]
public ref class SmoException : public SqlServerManagementException
[<SerializableAttribute>]
type SmoException =  
    class
        inherit SqlServerManagementException
    end
public class SmoException extends SqlServerManagementException

Remarks

Thread Safety

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.

Inheritance Hierarchy

System.Object
  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.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.ServiceRequestException
        Microsoft.SqlServer.Management.Smo.UnknownPropertyException
        Microsoft.SqlServer.Management.Smo.UnsupportedFeatureException
        Microsoft.SqlServer.Management.Smo.UnsupportedObjectNameException
        Microsoft.SqlServer.Management.Smo.UnsupportedVersionException
        Microsoft.SqlServer.Management.Smo.WrongPropertyValueException

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.