DacStore.GetDatabaseChanges Method
Gets information about any database changes resulting in drift. Drift occurs when a database is changed outside of the DAC deployment and upgrade process.
Namespace: Microsoft.SqlServer.Management.Dac
Assembly: Microsoft.SqlServer.Management.Dac (in Microsoft.SqlServer.Management.Dac.dll)
Syntax
'Declaration
Public Function GetDatabaseChanges ( _
databaseName As String _
) As ChangeResult
'Usage
Dim instance As DacStore
Dim databaseName As String
Dim returnValue As ChangeResult
returnValue = instance.GetDatabaseChanges(databaseName)
public ChangeResult GetDatabaseChanges(
string databaseName
)
public:
ChangeResult^ GetDatabaseChanges(
String^ databaseName
)
member GetDatabaseChanges :
databaseName:string -> ChangeResult
public function GetDatabaseChanges(
databaseName : String
) : ChangeResult
Parameters
- databaseName
Type: System.String
The name of the database associated with the DAC.
Return Value
Type: Microsoft.SqlServer.Management.SqlParser.MetadataDifferencer.ChangeResult
If drift has occurred, returns a ChangeResult with the details of drift; otherwise, returns nulla null reference (Nothing in Visual Basic).