Compartir a través de


Clase AlterDatabaseModifyFileGroupStatement

Represents the MODIFY FILEGROUP case of the ALTER DATABASE statement.

Jerarquía de herencia

System.Object
  Microsoft.SqlServer.TransactSql.ScriptDom.TSqlFragment
    Microsoft.SqlServer.TransactSql.ScriptDom.TSqlStatement
      Microsoft.SqlServer.TransactSql.ScriptDom.AlterDatabaseStatement
        Microsoft.SqlServer.TransactSql.ScriptDom.AlterDatabaseModifyFileGroupStatement

Espacio de nombres:  Microsoft.SqlServer.TransactSql.ScriptDom
Ensamblado:  Microsoft.SqlServer.TransactSql.ScriptDom (en Microsoft.SqlServer.TransactSql.ScriptDom.dll)

Sintaxis

'Declaración
<SerializableAttribute> _
Public Class AlterDatabaseModifyFileGroupStatement _
    Inherits AlterDatabaseStatement
'Uso
Dim instance As AlterDatabaseModifyFileGroupStatement
[SerializableAttribute]
public class AlterDatabaseModifyFileGroupStatement : AlterDatabaseStatement
[SerializableAttribute]
public ref class AlterDatabaseModifyFileGroupStatement : public AlterDatabaseStatement
[<SerializableAttribute>]
type AlterDatabaseModifyFileGroupStatement =  
    class 
        inherit AlterDatabaseStatement 
    end
public class AlterDatabaseModifyFileGroupStatement extends AlterDatabaseStatement

El tipo AlterDatabaseModifyFileGroupStatement expone los siguientes miembros.

Constructores

  Nombre Descripción
Método público AlterDatabaseModifyFileGroupStatement Initializes a new instance of the AlterDatabaseModifyFileGroupStatement class.

Arriba

Propiedades

  Nombre Descripción
Propiedad pública DatabaseName Gets or sets the name of the database to alter. (Se hereda de AlterDatabaseStatement.)
Propiedad pública FileGroup Gets or sets the file group to modify.
Propiedad pública FirstTokenIndex Gets or sets the first token index. (Se hereda de TSqlFragment.)
Propiedad pública FragmentLength Gets the fragment length. (Se hereda de TSqlFragment.)
Propiedad pública LastTokenIndex Gets or sets the last token index. (Se hereda de TSqlFragment.)
Propiedad pública MakeDefault Gets or sets whether this file group becomes the default database file group.
Propiedad pública NewFileGroupName Gets or sets a new name of the file group.
Propiedad pública ScriptTokenStream Gets or sets a list of token streams. (Se hereda de TSqlFragment.)
Propiedad pública StartColumn Gets the starting column. (Se hereda de TSqlFragment.)
Propiedad pública StartLine Gets the starting line. (Se hereda de TSqlFragment.)
Propiedad pública StartOffset Gets the fragment start offset value. (Se hereda de TSqlFragment.)
Propiedad pública Termination Gets or sets the optional termination options.
Propiedad pública UpdatabilityOption Gets or sets the file group updatability option.
Propiedad pública UseCurrent Gets or sets whether CURRENT is specified instead of Database Name. (Se hereda de AlterDatabaseStatement.)

Arriba

Métodos

  Nombre Descripción
Método público Accept Accepts a visit from the specified visitor. (Invalida TSqlFragment.Accept(TSqlFragmentVisitor).)
Método público AcceptChildren Accepts a visit for the Children from the specified visitor. (Invalida AlterDatabaseStatement.AcceptChildren(TSqlFragmentVisitor).)
Método público Equals (Se hereda de Object.)
Método protegido Finalize (Se hereda de Object.)
Método público GetHashCode (Se hereda de Object.)
Método público GetType (Se hereda de Object.)
Método protegido MemberwiseClone (Se hereda de Object.)
Método público ToString (Se hereda de Object.)

Arriba

Seguridad para subprocesos

Cualquier miembro público static (Shared en Visual Basic) de este tipo es seguro para subprocesos. No se garantiza que los miembros de instancia sean seguros para subprocesos.

Vea también

Referencia

Espacio de nombres Microsoft.SqlServer.TransactSql.ScriptDom