Delen via


SmoObjectBase Class

The SmoObjectBase is a base class that is inherited by the SqlSmoObject class.

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

Syntax

'Declaration
Public MustInherit Class SmoObjectBase _
    Implements ISfcValidate
'Usage
Dim instance As SmoObjectBase
public abstract class SmoObjectBase : ISfcValidate
public ref class SmoObjectBase abstract : ISfcValidate
[<AbstractClassAttribute>]
type SmoObjectBase =  
    class
        interface ISfcValidate
    end
public abstract class SmoObjectBase implements ISfcValidate

The SmoObjectBase type exposes the following members.

Constructors

  Name Description
Protected method SmoObjectBase Initializes a new instance of the SmoObjectBase class.

Top

Properties

  Name Description
Public property State Gets the state of the referenced object.
Public property UserData Gets or sets user-defined data associated with the referenced object.

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)
Public method Validate Validates the state of an object.

Top

Remarks

The SqlSmoObject is used extensively throughout the SMO programming model. It represents a generic SMO instance object.

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are safe for multithreaded operations. Any instance members are not guaranteed to be thread safe.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.