ScriptNameObjectBase Class

 

Represents a base class inherited by classes that can use an alternative name used in scripting operations.

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

System.Object
  Microsoft.SqlServer.Management.Smo.SmoObjectBase
    Microsoft.SqlServer.Management.Smo.SqlSmoObject
      Microsoft.SqlServer.Management.Smo.NamedSmoObject
        Microsoft.SqlServer.Management.Smo.ScriptNameObjectBase
          Microsoft.SqlServer.Management.Smo.ApplicationRole
          Microsoft.SqlServer.Management.Smo.Audit
          Microsoft.SqlServer.Management.Smo.AuditSpecification
          Microsoft.SqlServer.Management.Smo.BackupDevice
          Microsoft.SqlServer.Management.Smo.Broker.BrokerObjectBase
          Microsoft.SqlServer.Management.Smo.Check
          Microsoft.SqlServer.Management.Smo.Column
          Microsoft.SqlServer.Management.Smo.ColumnEncryptionKey
          Microsoft.SqlServer.Management.Smo.ColumnMasterKey
          Microsoft.SqlServer.Management.Smo.Database
          Microsoft.SqlServer.Management.Smo.DatabaseRole
          Microsoft.SqlServer.Management.Smo.DdlTriggerBase
          Microsoft.SqlServer.Management.Smo.DefaultConstraint
          Microsoft.SqlServer.Management.Smo.Endpoint
          Microsoft.SqlServer.Management.Smo.ExtendedProperty
          Microsoft.SqlServer.Management.Smo.Federation
          Microsoft.SqlServer.Management.Smo.ForeignKey
          Microsoft.SqlServer.Management.Smo.FullTextCatalog
          Microsoft.SqlServer.Management.Smo.FullTextIndexColumn
          Microsoft.SqlServer.Management.Smo.FullTextService
          Microsoft.SqlServer.Management.Smo.FullTextStopList
          Microsoft.SqlServer.Management.Smo.Index
          Microsoft.SqlServer.Management.Smo.Login
          Microsoft.SqlServer.Management.Smo.Mail.MailAccount
          Microsoft.SqlServer.Management.Smo.Mail.MailProfile
          Microsoft.SqlServer.Management.Smo.Mail.MailServer
          Microsoft.SqlServer.Management.Smo.NumberedStoredProcedure
          Microsoft.SqlServer.Management.Smo.ParameterBase
          Microsoft.SqlServer.Management.Smo.PartitionFunction
          Microsoft.SqlServer.Management.Smo.PartitionFunctionParameter
          Microsoft.SqlServer.Management.Smo.PartitionScheme
          Microsoft.SqlServer.Management.Smo.PartitionSchemeParameter
          Microsoft.SqlServer.Management.Smo.ResourcePool
          Microsoft.SqlServer.Management.Smo.Schema
          Microsoft.SqlServer.Management.Smo.ScriptSchemaObjectBase
          Microsoft.SqlServer.Management.Smo.SearchProperty
          Microsoft.SqlServer.Management.Smo.SearchPropertyList
          Microsoft.SqlServer.Management.Smo.ServerRole
          Microsoft.SqlServer.Management.Smo.SoapMethodObject
          Microsoft.SqlServer.Management.Smo.SqlAssembly
          Microsoft.SqlServer.Management.Smo.SqlAssemblyFile
          Microsoft.SqlServer.Management.Smo.Statistic
          Microsoft.SqlServer.Management.Smo.Trigger
          Microsoft.SqlServer.Management.Smo.User
          Microsoft.SqlServer.Management.Smo.WorkloadGroup

type ScriptNameObjectBase = 
    class
        inherit NamedSmoObject
    end

NameDescription
System_CAPS_protmethodScriptNameObjectBase()

Initializes a new instance of the ScriptNameObjectBase class.

NameDescription
System_CAPS_protpropertyExecuteForScalar

Gets or sets the Boolean property value that specifies whether the object is set to the execute for scalar option.(Inherited from SqlSmoObject.)

System_CAPS_pubpropertyExecutionManager

Gets the object to execute to the manager.(Inherited from SqlSmoObject.)

System_CAPS_protpropertyIsTouched

Gets the Boolean property value that specifies whether the object properties have been updated but not yet persisted on the server.(Inherited from SqlSmoObject.)

System_CAPS_pubpropertyName

Gets or sets the name of the object.(Inherited from NamedSmoObject.)

System_CAPS_protpropertyObjectInSpace

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

System_CAPS_pubpropertyProperties

Gets a collection of Property objects that represent the object properties.(Inherited from SqlSmoObject.)

System_CAPS_protpropertyScalarResult

Gets the scalar result for the referenced object.(Inherited from SqlSmoObject.)

System_CAPS_pubpropertyState

Gets the state of the referenced object.(Inherited from SmoObjectBase.)

System_CAPS_pubpropertyUrn

Gets the Uniform Resource Name (URN) address value that uniquely identifies the object.(Inherited from SqlSmoObject.)

System_CAPS_pubpropertyUserData

Gets or sets user-defined data associated with the referenced object.(Inherited from SmoObjectBase.)

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.

System_CAPS_protmethodAppendWithCommaText(StringBuilder, String, Boolean)

Appends text, optionally separated by a comma.

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.

System_CAPS_protmethodAutoGenerateName()

Generates a name based on the object Guid.

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.

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.

System_CAPS_protmethodCheckTextModeSupport()

Checks mode of support.

System_CAPS_protmethodCleanObject()

Cleans the referenced object.(Overrides SqlSmoObject.CleanObject().)

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(Boolean)

Drops a SqlSmoObject.(Inherited from SqlSmoObject.)

System_CAPS_protmethodDropImplWorker(Urn, Boolean)

Drops the IMPL worker.(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.

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.

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.

System_CAPS_protmethodGetIsTextDirty()

Determines whether the text value is consistent with stored value.

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.

System_CAPS_protmethodGetTextBody(Boolean)

Returns the text body.

System_CAPS_protmethodGetTextHeader(Boolean)

Returns the text header.

System_CAPS_protmethodGetTextMode()

Determines whether the script name is using text mode.

System_CAPS_protmethodGetTextProperty(String)

Gets the text of the object, if not available, throw appropriate exception based on the state of the object.

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.(Overrides SqlSmoObject.IsObjectDirty().)

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_pubmethodIsSupportedProperty(String)

Determines whether the specified property is supported in the target .NET Framework.(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.(Overrides SqlSmoObject.Refresh().)

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.

System_CAPS_protmethodSetIsSystemNamed(Boolean)

Sets a Boolean value that specifies whether the system is named.

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.

System_CAPS_protmethodSetTextHeader(String)

Specifies the text header.

System_CAPS_protmethodSetTextMode(Boolean, SmoCollectionBase[])

Specifies the text mode.

System_CAPS_protmethodSwitchTextMode(Boolean, SmoCollectionBase[])

Switches the text mode.

System_CAPS_protmethodThrowIfAboveVersion100(String)

Throws the object if above version 100.(Inherited from SqlSmoObject.)

System_CAPS_protmethodThrowIfAboveVersion80(String)

Throws SqlSmoObject if version is above 80.(Inherited from SqlSmoObject.)

System_CAPS_protmethodThrowIfBelowVersion100(String)

Throws exception if the version is below 100.(Inherited from SqlSmoObject.)

System_CAPS_protmethodThrowIfBelowVersion110(String)

Throws the object if the version belows 110.(Inherited from SqlSmoObject.)

System_CAPS_protmethodThrowIfBelowVersion110Prop(String)

Throws the SqlSmoObject if version is below 110Prop.(Inherited from SqlSmoObject.)

System_CAPS_protmethodThrowIfBelowVersion120(String)

Throws the object if the version is below 120.(Inherited from SqlSmoObject.)

System_CAPS_protmethodThrowIfBelowVersion120Prop(String)

Throws the object if the version belows 120 property.(Inherited from SqlSmoObject.)

System_CAPS_protmethodThrowIfBelowVersion130(String)

Throws the object if the version is below 130.(Inherited from SqlSmoObject.)

System_CAPS_protmethodThrowIfBelowVersion130Prop(String)

Throws an object if BelowVersion130Prop.(Inherited from SqlSmoObject.)

System_CAPS_protmethodThrowIfBelowVersion80(String)

Throws the object if the version is below 80.(Inherited from SqlSmoObject.)

System_CAPS_protmethodThrowIfBelowVersion80SP3()

Throws an exception if the version is below 80SP3.(Inherited from SqlSmoObject.)

System_CAPS_protmethodThrowIfBelowVersion90(String)

Throws the object if the version is below 90.(Inherited from SqlSmoObject.)

System_CAPS_protmethodThrowIfTextIsDirtyForAlter()

Throws an exception of text has been modified and not persisted.

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_protfieldm_ExtendedProperties

Represents a property that is defined to extend the properties provided by a SqlSmoObject.(Inherited from SqlSmoObject.)

System_CAPS_protfieldsingletonParent

Represents the singleton parent.(Inherited from SqlSmoObject.)

NameDescription
System_CAPS_pubeventPropertyChanged

Represents the event that occurs when a property is changed.(Inherited from SqlSmoObject.)

System_CAPS_pubeventPropertyMetadataChanged

Represents the event that occurs when property metadata changes.(Inherited from SqlSmoObject.)

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.)

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.

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

Return to top
Show: