Classe SqlSmoObject

The SqlSmoObject object represents all SQL Server objects.

Espace de noms :  Microsoft.SqlServer.Management.Smo
Assembly :  Microsoft.SqlServer.Smo (dans Microsoft.SqlServer.Smo.dll)

Syntaxe

'Déclaration
<TypeConverterAttribute(GetType(LocalizableTypeConverter))> _
Public MustInherit Class SqlSmoObject _
    Inherits SmoObjectBase _
    Implements ISfcPropertyProvider, ISfcNotifyPropertyMetadataChanged, INotifyPropertyChanged, IRefreshable,  _
    IAlienObject
'Utilisation
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

Notes

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

Tout membre statique public (Partagé dans Microsoft Visual Basic) de ce type est sûr dans le cadre des opérations à plusieurs threads. Tous les membres de l'instance ne sont pas garantis comme sûrs. 

Hiérarchie d'héritage

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

Sécurité des threads

Tous les membres publics static (Shared dans Visual Basic) de ce type sont thread-safe. Il n'est pas garanti que les membres d'instance soient thread-safe.