Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
MSDN Library

ScriptSchemaObjectBase Methods

 

Applies To: SQL Server 2016 Preview

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

NameDescription
System_CAPS_protmethodAddDatabaseContext(StringCollection)

Add the database context to the collection of queries identified by the queries parameter.(Inherited from SqlSmoObject.)

System_CAPS_protmethodAlterImpl()

Activates the object altered event.(Inherited from SqlSmoObject.)

System_CAPS_protmethodAlterImplWorker()

Calls the Alter methods.(Inherited from SqlSmoObject.)

System_CAPS_protmethodAppendCommaText(StringBuilder, String, Boolean, String)

Appends text, optionally separated by a comma.(Inherited from ScriptNameObjectBase.)

System_CAPS_protmethodAppendWithCommaText(StringBuilder, String, Boolean)

Appends text, optionally separated by a comma.(Inherited from ScriptNameObjectBase.)

System_CAPS_protmethodAppendWithOption(StringBuilder, String, String, Boolean)

Appends text and option text separated from the main text with a “WITH” string and optionally separated by a comma.(Inherited from ScriptNameObjectBase.)

System_CAPS_protmethodAutoGenerateName()

Generates a name based on the object Guid.(Inherited from ScriptNameObjectBase.)

System_CAPS_protmethodBindDefaultImpl(String, String, Boolean)

Binds the default items identified by the parameters.(Inherited from SqlSmoObject.)

System_CAPS_protmethodBindRuleImpl(String, String, Boolean)

Binds the rule schema to the rule and columns identified by the parameters.(Inherited from SqlSmoObject.)

System_CAPS_protmethodCheckObjectDirty()

Checks whether object has been modified and not persisted.(Inherited from ScriptNameObjectBase.)

System_CAPS_protmethodCheckObjectState()

Validates the state of the referenced object.(Inherited from SqlSmoObject.)

System_CAPS_protmethodCheckObjectState(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.(Inherited from SqlSmoObject.)

System_CAPS_protmethodCheckObjectStateImpl(Boolean)

Checks the state of a SqlSmoObject.(Inherited from SqlSmoObject.)

System_CAPS_protmethodCheckTextCorectness(String, Boolean, Boolean, String[], DdlTextParserHeaderInfo)

Checks text for correctness against the parameters.(Inherited from ScriptNameObjectBase.)

System_CAPS_protmethodCheckTextModeSupport()

Checks mode of support.(Inherited from ScriptNameObjectBase.)

System_CAPS_protmethodCheckVersion100()

Checks whether version of SQL Server is SQL Server 2008.(Inherited from SqlSmoObject.)

System_CAPS_protmethodCheckVersion110()

Checks whether version of SQL Server is SQL Server 2012.(Inherited from SqlSmoObject.)

System_CAPS_protmethodCheckVersion110(String)

Checks whether the version of SQL Server is SQL Server 2012 with the specified name.(Inherited from SqlSmoObject.)

System_CAPS_protmethodCheckVersion120()

Checks whether the version of SQL Server is SQL Server 2014.(Inherited from SqlSmoObject.)

System_CAPS_protmethodCheckVersion120(String)

Checks whether the version of SQL Server is SQL Server 2014.(Inherited from SqlSmoObject.)

System_CAPS_protmethodCheckVersion80()

Checks the validity of the object on SQL Server 2000.(Inherited from SqlSmoObject.)

System_CAPS_protmethodCheckVersion80SP3()

Checks the validity of the object on SQL Server 2000 SP3.(Inherited from SqlSmoObject.)

System_CAPS_protmethodCheckVersion90()

Check the validity of the object on SQL Server 2005.(Inherited from SqlSmoObject.)

System_CAPS_protmethodCheckVersionBelow110()

Checks whether version of SQL Server is before SQL Server 2012.(Inherited from SqlSmoObject.)

System_CAPS_protmethodCheckVersionBelow90()

Checks whether version of SQL Server is before SQL Server 2005.(Inherited from SqlSmoObject.)

System_CAPS_protmethodCleanObject()

Cleans the referenced object.(Inherited from ScriptNameObjectBase.)

System_CAPS_protmethodCreateImpl()

Creates an object with scripting options.(Inherited from SqlSmoObject.)

System_CAPS_pubmethodDiscover()

Discovers a list of type Object.(Inherited from SqlSmoObject.)

System_CAPS_protmethodDropImpl()

Drops a SqlSmoObject.(Inherited from SqlSmoObject.)

System_CAPS_protmethodDropImplWorker(Urn)

Calls the drop methods.(Inherited from SqlSmoObject.)

System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_protmethodExecuteNonQuery(StringCollection, Boolean)

Executes a batch of statements that does not return a result set.(Inherited from SqlSmoObject.)

System_CAPS_protmethodExecuteRenameQuery(String)

Executes the rename query for the object.(Inherited from NamedSmoObject.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_protmethodForceTextModeOnTextBody()

Enforces text mode on the text body.(Inherited from ScriptNameObjectBase.)

System_CAPS_protmethodFormatSqlVariant(Object)

Formats an object as T: Microsoft.Data.Schema.Sql.DataGenerator.SqlVariant type.(Inherited from SqlSmoObject.)

System_CAPS_protmethodGenerateAlterEvent()

Generates the alter event with the specified value.(Inherited from SqlSmoObject.)

System_CAPS_protmethodGenerateAlterEvent(Urn, Object)

Generates alter event with the specified URN and inner object value.(Inherited from SqlSmoObject.)

System_CAPS_protmethodGetBraketNameForText()

Gets the bracket name for the text.(Inherited from ScriptNameObjectBase.)

System_CAPS_protmethodGetContextDB()

Gets the context database that is associated with this object.(Inherited from SqlSmoObject.)

System_CAPS_protmethodGetDBName()

Gets the database name that is associated with the object.(Inherited from SqlSmoObject.)

System_CAPS_protmethodGetFragOptionString(FragmentationOption)

Gets a FragmentationOption object as a string value.(Inherited from SqlSmoObject.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_protmethodGetIsSystemNamed()

Gets a Boolean value that specifies whether the system is named.(Inherited from ScriptNameObjectBase.)

System_CAPS_protmethodGetIsTextDirty()

Determines whether the text value is consistent with stored value.(Inherited from ScriptNameObjectBase.)

System_CAPS_protmethodGetPropValue(String)

Gets a property value of the SqlSmoObject object.(Inherited from SqlSmoObject.)

System_CAPS_protmethodGetPropValueOptional(String)

Gets a property value of the SqlSmoObject object.(Inherited from SqlSmoObject.)

System_CAPS_protmethodGetPropValueOptionalAllowNull(String)

Gets a property value of the SqlSmoObject object.(Inherited from SqlSmoObject.)

System_CAPS_protmethodGetRealValue(Property, Object)

Gets a property value of the SqlSmoObject object.(Inherited from SqlSmoObject.)

System_CAPS_protmethodGetServerName()

Gets the name of the instance of SQL Server with which the object is associated.(Inherited from SqlSmoObject.)

System_CAPS_protmethodGetServerObject()

Gets the server of the SqlSmoObject object.(Inherited from SqlSmoObject.)

System_CAPS_protmethodGetSqlServerVersionName()

Gets the version name of the instance of SQL Server with which the object is associated.(Inherited from SqlSmoObject.)

System_CAPS_protmethodGetTextBody()

Returns the text body.(Inherited from ScriptNameObjectBase.)

System_CAPS_protmethodGetTextBody(Boolean)

Returns the text body.(Inherited from ScriptNameObjectBase.)

System_CAPS_protmethodGetTextHeader(Boolean)

Returns the text header.(Inherited from ScriptNameObjectBase.)

System_CAPS_protmethodGetTextMode()

Determines whether the script name is using text mode.(Inherited from ScriptNameObjectBase.)

System_CAPS_protmethodGetTextProperty(String)

Gets the text of the object, if not available, throw appropriate exception based on the state of the object.(Inherited from ScriptNameObjectBase.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_protmethodGetUrnRecursive(StringBuilder)

Assigns an Urn object of the SqlSmoObject object.(Inherited from SqlSmoObject.)

System_CAPS_protmethodGetUrnRecursive(StringBuilder, UrnIdOption)

Assigns an Urn object of the SqlSmoObject object.(Inherited from SqlSmoObject.)

System_CAPS_protmethodImplInitialize(String[], OrderBy[])

Initializes the fields of the SqlSmoObject object.(Inherited from SqlSmoObject.)

System_CAPS_pubmethodInitialize()

Initializes the object and forces the properties be loaded.(Inherited from SqlSmoObject.)

System_CAPS_pubmethodInitialize(Boolean)

Initializes the object and forces the properties be loaded.(Inherited from SqlSmoObject.)

System_CAPS_protmethodIsObjectDirty()

Determines whether the referenced object is consistent with the stored object.(Inherited from ScriptNameObjectBase.)

System_CAPS_protmethodIsObjectInitialized()

Verifies whether the object has been initialized.(Inherited from SqlSmoObject.)

System_CAPS_protmethodIsObjectInSpace()

Verifies whether the object is isolated or connected to the instance of SQL Server.(Inherited from SqlSmoObject.)

System_CAPS_protmethodIsVersion80SP3()

Determines whether the version of SQL Server is SQL Server 2000 with SP3.(Inherited from SqlSmoObject.)

System_CAPS_protmethodIsVersion90AndAbove()

Determines whether the version of SQL Server is SQL Server 2005 or later.(Inherited from SqlSmoObject.)

System_CAPS_protmethodMarkDropped()

Sets the SqlSmoState to dropped.(Inherited from SqlSmoObject.)

System_CAPS_protmethodMarkForDropImpl(Boolean)

Sets the SqlSmoState for drop operation.(Inherited from SqlSmoObject.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_protmethodPostAlter()

The method that is activated after the SqlSmoObject is altered.(Inherited from SqlSmoObject.)

System_CAPS_protmethodPostCreate()

The method that is activated after the SqlSmoObject is created.(Inherited from SqlSmoObject.)

System_CAPS_protmethodPostDrop()

The method that is activated after the SqlSmoObject is dropped.(Inherited from SqlSmoObject.)

System_CAPS_pubmethodRefresh()

Refreshes the script name.(Inherited from ScriptNameObjectBase.)

System_CAPS_protmethodRenameImpl(String)

This method supports the SMO infrastructure and is not intended to be used directly from your code.(Inherited from NamedSmoObject.)

System_CAPS_protmethodRenameImplWorker(String)

Identified for informational purposes only. Not supported. Future compatibility is not guaranteed.(Inherited from NamedSmoObject.)

System_CAPS_protmethodScriptImpl()

Gets a collection of scripts of the SqlSmoObject.(Inherited from SqlSmoObject.)

System_CAPS_protmethodScriptImpl(ScriptingOptions)

Gets a collection of scripts of the SqlSmoObject.(Inherited from SqlSmoObject.)

System_CAPS_protmethodSetCollectionTextMode(Boolean, SmoCollectionBase)

Sets the collection text mode.(Inherited from ScriptNameObjectBase.)

System_CAPS_protmethodSetIsSystemNamed(Boolean)

Sets a Boolean value that specifies whether the system is named.(Inherited from ScriptNameObjectBase.)

System_CAPS_protmethodSetParentImpl(SqlSmoObject)

Sets the parent of the SqlSmoObject to the newParent parameter.(Inherited from SqlSmoObject.)

System_CAPS_protmethodSetSchemaOwned()

Sets the schema owned value. (Inherited from NamedSmoObject.)

System_CAPS_protmethodSetTextBody(String)

Specifies the text body.(Inherited from ScriptNameObjectBase.)

System_CAPS_protmethodSetTextHeader(String)

Specifies the text header.(Inherited from ScriptNameObjectBase.)

System_CAPS_protmethodSetTextMode(Boolean, SmoCollectionBase[])

Specifies the text mode.(Inherited from ScriptNameObjectBase.)

System_CAPS_protmethodSwitchTextMode(Boolean, SmoCollectionBase[])

Switches the text mode.(Inherited from ScriptNameObjectBase.)

System_CAPS_protmethodThrowIfTextIsDirtyForAlter()

Throws an exception of text has been modified and not persisted.(Inherited from ScriptNameObjectBase.)

System_CAPS_pubmethodToString()

Returns a String that represents the referenced object.(Inherited from SqlSmoObject.)

System_CAPS_protmethodTouchImpl()

Not implemented.(Inherited from SqlSmoObject.)

System_CAPS_protmethodUnbindDefaultImpl(Boolean)

Unbinds the default columns of the SqlSmoObject.(Inherited from SqlSmoObject.)

System_CAPS_protmethodUnbindRuleImpl(Boolean)

Unbinds rules of the SqlSmoObject.(Inherited from SqlSmoObject.)

System_CAPS_pubmethodValidate(String, Object[])

Validates the state of an object.(Inherited from SmoObjectBase.)

NameDescription
System_CAPS_pubinterfaceSystem_CAPS_privmethodIAlienObject.Discover()

Discovers any dependencies.

Do not reference this member directly in your code. It supports the SQL Server infrastructure.(Inherited from SqlSmoObject.)

System_CAPS_pubinterfaceSystem_CAPS_privmethodIAlienObject.GetDomainRoot()

Returns the root of the domain.(Inherited from SqlSmoObject.)

System_CAPS_pubinterfaceSystem_CAPS_privmethodIAlienObject.GetParent()

Gets the parent of this object. Do not reference this member directly in your code. It supports the SQL Server infrastructure.(Inherited from SqlSmoObject.)

System_CAPS_pubinterfaceSystem_CAPS_privmethodIAlienObject.GetPropertyType(String)

Gets the type of the specified property.(Inherited from SqlSmoObject.)

System_CAPS_pubinterfaceSystem_CAPS_privmethodIAlienObject.GetPropertyValue(String, Type)

Gets the value of the specified property.(Inherited from SqlSmoObject.)

System_CAPS_pubinterfaceSystem_CAPS_privmethodIAlienObject.GetUrn()

Gets the Unified Resource Name (URN) of the object.

Do not reference this member directly in your code. It supports the SQL Server infrastructure.(Inherited from SqlSmoObject.)

System_CAPS_pubinterfaceSystem_CAPS_privmethodIAlienObject.Resolve(String)

Gets the instance that contains the information about the object from the Unified Resource Name (URN) of the object.(Inherited from SqlSmoObject.)

System_CAPS_pubinterfaceSystem_CAPS_privmethodIAlienObject.SetObjectState(SfcObjectState)

Sets the object state to the specified SfcObjectState value.(Inherited from SqlSmoObject.)

System_CAPS_pubinterfaceSystem_CAPS_privmethodIAlienObject.SetPropertyValue(String, Type, Object)

Sets the property value.(Inherited from SqlSmoObject.)

System_CAPS_pubinterfaceSystem_CAPS_privmethodISfcPropertyProvider.GetPropertySet()

Gets the interface reference to the set of properties of this object.

Do not reference this member directly in your code. It supports the SQL Server infrastructure.(Inherited from SqlSmoObject.)

Return to top
Show:
© 2015 Microsoft