SqlSmoObject-Klasse

The SqlSmoObject object represents all SQL Server objects.

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

Syntax

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

Hinweise

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

Alle öffentlichen, statischen Elemente dieses Typs (Shared in Microsoft Visual Basic) sind für Vorgänge mit mehreren Threads sicher. Für Instanzelemente kann nicht sichergestellt werden, dass sie für Threads sicher sind. 

Vererbungshierarchie

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

Threadsicherheit

Alle öffentlichen static (Shared in Visual Basic) Member dieses Typs sind threadsicher. Bei Instanzmembern ist die Threadsicherheit nicht gewährleistet.