DacServices.GenerateDriftReport 메서드 (String, 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, _
cancellationToken As Nullable(Of CancellationToken) _
) As String
‘사용 방법
Dim instance As DacServices
Dim targetDatabaseName As String
Dim cancellationToken As Nullable(Of CancellationToken)
Dim returnValue As String
returnValue = instance.GenerateDriftReport(targetDatabaseName, _
cancellationToken)
public string GenerateDriftReport(
string targetDatabaseName,
Nullable<CancellationToken> cancellationToken
)
public:
String^ GenerateDriftReport(
String^ targetDatabaseName,
Nullable<CancellationToken> cancellationToken
)
member GenerateDriftReport :
targetDatabaseName:string *
cancellationToken:Nullable<CancellationToken> -> string
public function GenerateDriftReport(
targetDatabaseName : String,
cancellationToken : Nullable<CancellationToken>
) : String
매개 변수
- targetDatabaseName
유형: System.String
Name of the target database for deployment.
- 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
String of XML that details the database drift, or null if the database has not been registered.
예외
예외 | 조건 |
---|---|
DacServicesException | If a problem occurs during report generation. |
OperationCanceledException |