Condividi tramite


Classe SqlSmoObject

The SqlSmoObject object represents all SQL Server objects.

Spazio dei nomi:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Sintassi

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

Osservazioni

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

Tutti i membri statici pubblici (Shared in Microsoft Visual Basic) di questo tipo sono sicuri per le operazioni a thread multipli. Non è invece garantita la sicurezza dei membri dell'istanza. 

Gerarchia di ereditarietà

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

Thread Safety

Tutti i membri pubblici static (Shared in Visual Basic) di questo tipo sono thread safe. I membri di istanza non hanno garanzia di essere thread safe.