Share via


Classe SmoException

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 (em Microsoft.SqlServer.Smo.dll)

Sintaxe

'Declaração
<SerializableAttribute> _
Public Class SmoException _
    Inherits SqlServerManagementException
'Uso
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

Comentários

Thread Safety

Qualquer membro público estático (Compartilhado no Microsoft Visual Basic) desse tipo é seguro para operações multi-threaded. Não há garantia de que qualquer membro de instância seja seguro para threads.

Hierarquia de herança

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

Segurança de thread

Quaisquer membros static (Shared no Visual Basic) públicos deste tipo são thread-safe. Não há garantia de que qualquer membro de instância seja thread-safe.