Share via


Membres SqlSmoObject

The SqlSmoObject object represents all SQL Server objects.

Le type SqlSmoObject expose les membres suivants.

Constructeurs

  Nom Description
Méthode protégée SqlSmoObject Initializes a new instance of the SqlSmoObject class.

Haut de la page

Méthodes

  Nom Description
Méthode protégée AddDatabaseContext
Méthode protégée AlterImpl
Méthode protégée AlterImplFinish
Méthode protégée AlterImplInit
Méthode protégée AlterImplWorker
Méthode protégée BindDefaultImpl
Méthode protégée BindRuleImpl
Méthode protégée CheckCollation
Méthode protégée CheckObjectState() () () () Validates the state of the referenced object.
Méthode protégée CheckObjectState(Boolean) Validates the state of the referenced object with the option to specify that an exception is thrown if the object is not yet created.
Méthode protégée CheckObjectStateImpl
Méthode protégée CheckVersion100
Méthode protégée CheckVersion80 Checks the validity of the object on SQL Server 2000.
Méthode protégée CheckVersion80SP3 Checks the validity of the object on SQL Server 2000 SP3.
Méthode protégée CheckVersion90 Check the validity of the object on SQL Server 2005.
Méthode protégée CheckVersionBelow90
Méthode protégée CleanObject
Méthode protégée CreateImpl
Méthode protégée CreateImplFinish
Méthode protégée CreateImplInit
Méthode publique Discover
Méthode protégée DropImpl
Méthode protégée DropImplWorker
Méthode protégée EnumScriptImpl
Méthode protégée EnumScriptImplWorker
Méthode publique Equals (Hérité de Object.)
Méthode protégée Finalize (Hérité de Object.)
Méthode protégée FormatSqlVariant
Méthode protégée GenerateDataSpaceFileStreamScript
Méthode protégée GenerateDataSpaceScript
Méthode protégée GetBindDefaultScript
Méthode protégée GetBindRuleScript
Méthode protégée GetBoolParameter(StringBuilder, ScriptingOptions, String, String, Int32%)
Méthode protégée GetBoolParameter(StringBuilder, ScriptingOptions, String, String, Int32%, Boolean)
Méthode publiqueMembre statique GetChildType
Méthode protégée GetDateTimeParameter
Méthode protégée GetDateTimeParameterAsInt
Méthode protégée GetDBName Gets the database name that is associated with the object.
Méthode protégée GetEnumParameter
Méthode protégée GetFragOptionString
Méthode protégée GetGuidParameter
Méthode publique GetHashCode (Hérité de Object.)
Méthode protégée GetParameter(StringBuilder, ScriptingOptions, String, String, Int32%)
Méthode protégée GetParameter(StringBuilder, ScriptingOptions, String, String, Int32%, Boolean)
Méthode protégée GetPropValue
Méthode protégée GetPropValueOptional
Méthode protégée GetPropValueOptionalAllowNull
Méthode protégée GetRealValue
Méthode protégée GetScriptingOptionsForCreate
Méthode protégée GetServerName Gets the name of the instance of SQL Server with which the object is associated.
Méthode protégée GetServerObject
Méthode protégée GetSqlServerVersionName Gets the version name of the instance of SQL Server with which the object is associated.
Méthode protégée GetStringParameter(StringBuilder, ScriptingOptions, String, String, Int32%)
Méthode protégée GetStringParameter(StringBuilder, ScriptingOptions, String, String, Int32%, Boolean)
Méthode protégée GetTimeSpanParameterAsInt
Méthode publique GetType (Hérité de Object.)
Méthode publiqueMembre statique GetTypeFromUrnSkeleton
Méthode protégée GetUrnRecursive(StringBuilder)
Méthode protégée GetUrnRecursive(StringBuilder, UrnIdOption)
Méthode protégée ImplInitialize
Méthode publique Initialize() () () () Initializes the object and forces the properties be loaded.
Méthode publique Initialize(Boolean) Initializes the object and forces the properties be loaded.
Méthode protégéeMembre statique IsCollectionDirty
Méthode protégée IsObjectDirty Verifies whether the object properties have been modified and the changes have not yet been persisted on the instance of SQL Server.
Méthode protégée IsObjectInitialized Verifies whether the object has been initialized.
Méthode protégée IsObjectInSpace Verifies whether the object is isolated or connected to the instance of SQL Server.
Méthode protégée IsVersion80SP3
Méthode protégée MarkDropped
Méthode protégée MarkForDropImpl
Méthode protégée MemberwiseClone (Hérité de Object.)
Méthode protégée PostAlter
Méthode protégée PostCreate
Méthode protégée PostDrop
Méthode publique Refresh Refreshes the object and retrieves properties when the object is next accessed.
Méthode protégée ScriptAlter
Méthode protégée ScriptCreate
Méthode protégée ScriptDdl
Méthode protégée ScriptDrop
Méthode protégée ScriptImpl() () () ()
Méthode protégée ScriptImpl(ScriptingOptions)
Méthode protégée ScriptImplWorker
Méthode protégée SetParentImpl
Méthode publique ToString Returns a String that represents the referenced object. (Se substitue à Object. . :: . .ToString() () () ().)
Méthode protégée TouchImpl
Méthode protégéeMembre statique Trace Traces the object.
Méthode protégée UnbindDefaultImpl
Méthode protégée UnbindRuleImpl
Méthode protégéeMembre statique UpdateCollectionState2
Méthode publique Validate (Hérité de SmoObjectBase.)

Haut de la page

Champs

  Nom Description
Champ protégé m_ExtendedProperties

Haut de la page

Propriétés

  Nom Description
Propriété protégée ExecuteForScalar Gets or sets the Boolean property value that specifies whether the object is set to the execute for scalar option.
Propriété protégée IsTouched Gets the Boolean property value that specifies whether the object properties have been updated but not yet persisted on the server.
Propriété protégée ObjectInSpace Gets the Boolean property value that specifies whether the object exists in isolation, or whether it is directly or indirectly connected to the instance of SQL Server.
Propriété publique Properties Gets a collection of Property objects that represent the object properties.
Propriété protégée ScalarResult Gets the scalar result for the referenced object.
Propriété publique State Gets the state of the referenced object. (Hérité de SmoObjectBase.)
Propriété publique Urn Gets the Uniform Resource Name (URN) address value that uniquely identifies the object.
Propriété publique UserData Gets or sets user-defined data associated with the referenced object. (Hérité de SmoObjectBase.)

Haut de la page

Événements

  Nom Description
Événement public PropertyChanged
Événement public PropertyMetadataChanged

Haut de la page