Compartilhar via


Classe SqlSmoObject

The SqlSmoObject object represents all SQL Server objects.

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

Sintaxe

'Declaração
<TypeConverterAttribute(GetType(LocalizableTypeConverter))> _
Public MustInherit Class SqlSmoObject _
    Inherits SmoObjectBase _
    Implements ISfcPropertyProvider, ISfcNotifyPropertyMetadataChanged, INotifyPropertyChanged, IRefreshable,  _
    IAlienObject
'Uso
Dim instance As SqlSmoObject
[TypeConverterAttribute(typeof(LocalizableTypeConverter))]
public abstract class SqlSmoObject : SmoObjectBase, 
    ISfcPropertyProvider, ISfcNotifyPropertyMetadataChanged, INotifyPropertyChanged, IRefreshable, IAlienObject
[TypeConverterAttribute(typeof(LocalizableTypeConverter))]
public ref class SqlSmoObject abstract : public SmoObjectBase, 
    ISfcPropertyProvider, ISfcNotifyPropertyMetadataChanged, INotifyPropertyChanged, IRefreshable, IAlienObject
[<AbstractClassAttribute>]
[<TypeConverterAttribute(typeof(LocalizableTypeConverter))>]
type SqlSmoObject =  
    class
        inherit SmoObjectBase
        interface ISfcPropertyProvider
        interface ISfcNotifyPropertyMetadataChanged
        interface INotifyPropertyChanged
        interface IRefreshable
        interface IAlienObject
    end
public abstract class SqlSmoObject extends SmoObjectBase implements ISfcPropertyProvider, ISfcNotifyPropertyMetadataChanged, INotifyPropertyChanged, IRefreshable, IAlienObject

Comentários

The SqlSmoObject is a generic object that is used to referenced objects that are not of a specified type. The SqlSmoObject is also used as a base class.

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
  Microsoft.SqlServer.Management.Smo. . :: . .SmoObjectBase
    Microsoft.SqlServer.Management.Smo..::..SqlSmoObject
      Microsoft.SqlServer.Management.Smo.Agent. . :: . .JobServer
      Microsoft.SqlServer.Management.Smo.Broker. . :: . .ServiceBroker
      Microsoft.SqlServer.Management.Smo. . :: . .DatabaseActiveDirectory
      Microsoft.SqlServer.Management.Smo. . :: . .DatabaseEncryptionKey
      Microsoft.SqlServer.Management.Smo. . :: . .DatabaseOptions
      Microsoft.SqlServer.Management.Smo. . :: . .EndpointPayload
      Microsoft.SqlServer.Management.Smo. . :: . .EndpointProtocol
      Microsoft.SqlServer.Management.Smo. . :: . .FullTextIndex
      Microsoft.SqlServer.Management.Smo. . :: . .Information
      Microsoft.SqlServer.Management.Smo.Mail. . :: . .SqlMail
      Microsoft.SqlServer.Management.Smo. . :: . .MasterKey
      Microsoft.SqlServer.Management.Smo. . :: . .MessageObjectBase
      Microsoft.SqlServer.Management.Smo. . :: . .NamedSmoObject
      Microsoft.SqlServer.Management.Smo. . :: . .PhysicalPartition
      Microsoft.SqlServer.Management.Smo. . :: . .ResourceGovernor
      Microsoft.SqlServer.Management.Smo. . :: . .Server
      Microsoft.SqlServer.Management.Smo. . :: . .ServerActiveDirectory
      Microsoft.SqlServer.Management.Smo. . :: . .ServerProxyAccount
      Microsoft.SqlServer.Management.Smo. . :: . .ServiceMasterKey
      Microsoft.SqlServer.Management.Smo. . :: . .Settings
      Microsoft.SqlServer.Management.Smo. . :: . .UserOptions

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.