Класс SqlFinalizeDatabaseAccessStep

This step is represents a step in the SQL deployment plan that finalizes the access settings to the database. These settings include Read-Only or Read-Write access, restricted, single user or multi-user, and online versus offline. This class is for read-only purpose and cannot be instantiated.

Иерархия наследования

System.Object
  Microsoft.SqlServer.Dac.Deployment.DeploymentStep
    Microsoft.SqlServer.Dac.Deployment.DeploymentStepInternal
      Microsoft.SqlServer.Dac.Deployment.DeploymentScriptDomStep
        Microsoft.SqlServer.Dac.Deployment.SqlFinalizeDatabaseAccessStep

Пространство имен:  Microsoft.SqlServer.Dac.Deployment
Сборка:  Microsoft.SqlServer.Dac.Extensions (в Microsoft.SqlServer.Dac.Extensions.dll)

Синтаксис

'Декларация
Public NotInheritable Class SqlFinalizeDatabaseAccessStep _
    Inherits DeploymentScriptDomStep
'Применение
Dim instance As SqlFinalizeDatabaseAccessStep
public sealed class SqlFinalizeDatabaseAccessStep : DeploymentScriptDomStep
public ref class SqlFinalizeDatabaseAccessStep sealed : public DeploymentScriptDomStep
[<SealedAttribute>]
type SqlFinalizeDatabaseAccessStep =  
    class 
        inherit DeploymentScriptDomStep 
    end
public final class SqlFinalizeDatabaseAccessStep extends DeploymentScriptDomStep

Тип SqlFinalizeDatabaseAccessStep обеспечивает доступ к следующим элементам.

Свойства

  Имя Описание
Открытое свойство IsMessageInFirstBatch Returns true if the step's message will be the first batch when calling GenerateTSql() (Производный от DeploymentScriptDomStep.)
Открытое свойство Message Gets an optional message describing the step (Производный от DeploymentScriptDomStep.)
Открытое свойство Next Gets the next step in the container, which is a LinkedListNode<T> of type DeploymentStep. (Производный от DeploymentStep.)
Открытое свойство Previous Gets the previous step in the container, which is a LinkedListNode<T> of type DeploymentStep. (Производный от DeploymentStep.)
Открытое свойство Script Gets the script for this step. (Производный от DeploymentScriptDomStep.)
Открытое свойство ScriptGenerator Gets the ScriptGenerator for this step (Производный от DeploymentScriptDomStep.)

В начало

Методы

  Имя Описание
Открытый метод Equals (Производный от Object.)
Открытый метод GenerateBatchScript Returns a helper that writes the set of batch scripts to the provided writer. (Производный от DeploymentStep.)
Открытый метод GenerateTSQL Returns a list of strings that represent a set of TSQL script batches to be applied during deployment (Производный от DeploymentStepInternal.)
Открытый метод GetHashCode (Производный от Object.)
Открытый метод GetType (Производный от Object.)
Открытый метод ToString Returns a string that describes this step. The base returns the type of the step (Производный от DeploymentStepInternal.)

В начало

Безопасность многопоточности

Любые открытые статический (Shared в Visual Basic) элементы этого типа потокобезопасны. Потокобезопасность с элементами экземпляров не гарантируется.

См. также

Справочник

Пространство имен Microsoft.SqlServer.Dac.Deployment