다음을 통해 공유


DacServices.GenerateDriftReport 메서드 (String, DacSchemaModelStorageType, Nullable<CancellationToken>)

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.

반환 값

유형: System.String
A string of XML that details the database drift, or null if the database has not been registered.

참고 항목

참조

DacServices 클래스

GenerateDriftReport 오버로드

Microsoft.SqlServer.Dac 네임스페이스