Freigeben über


DbNotProvisionedException-Klasse

Tritt auf, wenn eine Methode erfordert, dass die Datenbank Synchronisierungsmetadaten enthält und die Datenbank noch nicht bereitgestellt wurde.

Namespace:  Microsoft.Synchronization.Data
Assembly:  Microsoft.Synchronization.Data (in Microsoft.Synchronization.Data.dll)

Syntax

'Declaration
<SerializableAttribute> _
Public Class DbNotProvisionedException _
    Inherits DbSyncException
'Usage
Dim instance As DbNotProvisionedException
[SerializableAttribute]
public class DbNotProvisionedException : DbSyncException
[SerializableAttribute]
public ref class DbNotProvisionedException : public DbSyncException
[<SerializableAttribute>]
type DbNotProvisionedException =  
    class
        inherit DbSyncException
    end
public class DbNotProvisionedException extends DbSyncException

Hinweise

Beispiele der Methoden, durch die diese Ausnahme ausgelöst wird, sind SqlSyncStoreMetadataUpgrade..::..NeedsUpgrade und SqlSyncScopeProvisioning..::..PopulateFromTemplate. Die Ausnahme kann auch ausgelöst werden, wenn die Synchronisierungsanwendung nicht die erforderlichen Berechtigungen für die Datenbank besitzt, zum Beispiel die Berechtigung zum Lesen der scope_info-Tabelle. Weitere Informationen zu den Berechtigungen, die für Bereitstellungs- und Synchronisierungsvorgänge erforderlich sind, finden Sie unter Minimum Database Permissions Requirements for Microsoft Sync Framework (möglicherweise in englischer Sprache).

Vererbungshierarchie

System. . :: . .Object
  System. . :: . .Exception
    Microsoft.Synchronization. . :: . .SyncException
      Microsoft.Synchronization.Data. . :: . .DbSyncException
        Microsoft.Synchronization.Data..::..DbNotProvisionedException

Threadsicherheit

Alle öffentlichen static (Shared in Visual Basic) Member dieses Typs sind threadsicher. Bei Instanzmembern ist die Threadsicherheit nicht gewährleistet.

Siehe auch

Verweis

DbNotProvisionedException-Member

Microsoft.Synchronization.Data-Namespace