SqlSmoObject Members
The SqlSmoObject object represents all Microsoft SQL Server objects.
The following tables list the members exposed by the SqlSmoObject type.
Protected Constructors
名称 | Description | |
---|---|---|
SqlSmoObject | Initializes a new instance of the SqlSmoObject class. |
顶部
Protected Fields
名称 | Description | |
---|---|---|
m_ExtendedProperties |
顶部
Public Properties
(see also Protected Properties )
名称 | Description | |
---|---|---|
Properties | Gets a collection of Property objects that represent the object properties. | |
State | Gets the state of the referenced object. (inherited from SmoObjectBase) | |
Urn | Gets the Uniform Resource Name (URN) address value that uniquely identifies the object. | |
UserData | Gets or sets user-defined data associated with the referenced object. (inherited from SmoObjectBase) |
顶部
Protected Properties
名称 | Description | |
---|---|---|
ExecuteForScalar | Gets or sets the Boolean property value that specifies whether the object is set to the execute for scalar option. | |
ObjectInSpace | Gets the Boolean property value that specifies whether the object exists in isolation or whether it is connected to the instance of Microsoft SQL Server directly or indirectly. | |
PresetProperties | Gets or sets the preset properties of the referenced object. | |
ScalarResult | Gets the scalar result for the referenced object. |
顶部
Public Methods
(see also Protected Methods )
名称 | Description | |
---|---|---|
Equals | Overloaded. (inherited from Object ) | |
GetHashCode | (inherited from Object ) | |
GetType | (inherited from Object ) | |
Initialize | Overloaded. Initializes the object and forces the properties be loaded. | |
ReferenceEquals | (inherited from Object ) | |
Refresh | Refreshes the object and retrieves properties when the object is next accessed. | |
ToString | Overridden. Returns a String that represents the referenced object. |
顶部
Protected Methods
名称 | Description | |
---|---|---|
AlterImpl | ||
AlterImplFinish | ||
AlterImplInit | ||
AlterImplWorker | ||
BindDefaultImpl | ||
BindRuleImpl | ||
CheckCollation | Validates the collation for the referenced object. | |
CheckObjectState | Overloaded. Validates the state of the referenced object. | |
CheckObjectStateImpl | ||
CheckVersion80 | Checks the validity of the object on Microsoft SQL Server 2000. | |
CheckVersion80SP3 | Checks the validity of the object on Microsoft SQL Server 2000 SP3. | |
CheckVersion90 | Check the validity of the object on Microsoft SQL Server 2005. | |
CheckVersionBelow90 | ||
CleanObject | ||
CreateImpl | ||
CreateImplFinish | ||
CreateImplInit | ||
DropImpl | ||
DropImplWorker | ||
Finalize | (inherited from Object ) | |
FormatSqlVariant | ||
GenerateDataSpaceScript | ||
GetBindDefaultScript | ||
GetBindRuleScript | ||
GetBoolParameter | Overloaded. | |
GetDateTimeParameter | ||
GetDateTimeParameterAsInt | ||
GetDBName | Gets the database name associated with the object. | |
GetEnumParameter | ||
GetFragOptionString | ||
GetGuidParameter | ||
GetParameter | Overloaded. | |
GetPropValue | ||
GetPropValueOptional | ||
GetPropValueOptionalAllowNull | ||
GetRealValue | ||
GetScriptingOptionsForCreate | ||
GetServerName | Gets the name of the instance of Microsoft SQL Server with which the object is associated. | |
GetSqlServerVersionName | Gets the version name of the instance of Microsoft SQL Server with which the object is associated. | |
GetStringParameter | Overloaded. | |
GetTimeSpanParameterAsInt | ||
GetUrnRecursive | Overloaded. | |
ImplInitialize | ||
IsCollectionDirty | ||
IsObjectDirty | Verifies whether the object properties have been modified and the changes have not yet been persisted on the instance of Microsoft SQL Server. | |
IsObjectInitialized | Verifies whether the object has been initialized. | |
IsObjectInSpace | Verifies whether the object is isolated or connected to the instance of Microsoft SQL Server. | |
IsVersion80SP3 | ||
MarkDropped | ||
MarkForDropImpl | ||
MemberwiseClone | (inherited from Object ) | |
PostAlter | ||
PostCreate | ||
PostDrop | ||
ScriptAlter | ||
ScriptCreate | ||
ScriptDdl | ||
ScriptDrop | ||
ScriptImpl | Overloaded. | |
ScriptImplWorker | ||
SetParentImpl | ||
Trace | Traces the object. | |
UnbindDefaultImpl | ||
UnbindRuleImpl | ||
UpdateCollectionState2 |
顶部
请参阅
参考
SqlSmoObject Class
Microsoft.SqlServer.Management.Smo Namespace