Примечание.
Для доступа к этой странице требуется авторизация. Вы можете попробовать войти или изменить каталоги.
Для доступа к этой странице требуется авторизация. Вы можете попробовать изменить каталоги.
Creates an XML report of the drift that has occurred since the database was last registered.
Пространство имен: Microsoft.SqlServer.Dac
Сборка: Microsoft.SqlServer.Dac (в Microsoft.SqlServer.Dac.dll)
Синтаксис
'Декларация
Public Function GenerateDriftReport ( _
targetDatabaseName As String, _
modelStorageType As DacSchemaModelStorageType, _
cancellationToken As Nullable(Of CancellationToken) _
) As String
'Применение
Dim instance As DacServices
Dim targetDatabaseName As String
Dim modelStorageType As DacSchemaModelStorageType
Dim cancellationToken As Nullable(Of CancellationToken)
Dim returnValue As String
returnValue = instance.GenerateDriftReport(targetDatabaseName, _
modelStorageType, cancellationToken)
public string GenerateDriftReport(
string targetDatabaseName,
DacSchemaModelStorageType modelStorageType,
Nullable<CancellationToken> cancellationToken
)
public:
String^ GenerateDriftReport(
String^ targetDatabaseName,
DacSchemaModelStorageType modelStorageType,
Nullable<CancellationToken> cancellationToken
)
member GenerateDriftReport :
targetDatabaseName:string *
modelStorageType:DacSchemaModelStorageType *
cancellationToken:Nullable<CancellationToken> -> string
public function GenerateDriftReport(
targetDatabaseName : String,
modelStorageType : DacSchemaModelStorageType,
cancellationToken : Nullable<CancellationToken>
) : String
Параметры
- targetDatabaseName
Тип: System.String
Name of the target database for deployment.
- modelStorageType
Тип: Microsoft.SqlServer.Dac.DacSchemaModelStorageType
The type of backing storage for a schema model.
- cancellationToken
Тип: System.Nullable<CancellationToken>
Optional CancellationToken that can be used to indicate that the operation should be cancelled. Use of this object does not guarantee that the operation will be cancelled.
Возвращаемое значение
Тип: System.String
A string of XML that details the database drift, or null if the database has not been registered.