مشاركة عبر


ScriptNameObjectBase Class

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

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

Syntax

'Declaration
Public Class ScriptNameObjectBase _
    Inherits NamedSmoObject
'Usage
Dim instance As ScriptNameObjectBase
public class ScriptNameObjectBase : NamedSmoObject
public ref class ScriptNameObjectBase : public NamedSmoObject
type ScriptNameObjectBase =  
    class
        inherit NamedSmoObject
    end
public class ScriptNameObjectBase extends NamedSmoObject

Remarks

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.

Examples

Scripting

Inheritance Hierarchy

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

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.