Partager via


Méthode Publication.CheckValidDefinition

Cette API prend en charge l'infrastructure SQL Server 2012 et n'est pas destinée à être utilisée directement à partir de votre code.

Indicates whether to check valid definition.

Espace de noms :  Microsoft.SqlServer.Replication
Assembly :  Microsoft.SqlServer.Rmo (en Microsoft.SqlServer.Rmo.dll)

Syntaxe

'Déclaration
Protected Overrides Function CheckValidDefinition ( _
    throwException As Boolean _
) As Boolean
'Utilisation
Dim throwException As Boolean 
Dim returnValue As Boolean 

returnValue = Me.CheckValidDefinition(throwException)
protected override bool CheckValidDefinition(
    bool throwException
)
protected:
virtual bool CheckValidDefinition(
    bool throwException
) override
abstract CheckValidDefinition : 
        throwException:bool -> bool  
override CheckValidDefinition : 
        throwException:bool -> bool
protected override function CheckValidDefinition(
    throwException : boolean
) : boolean

Paramètres

  • throwException
    Type : System.Boolean
    true to throw an exception; otherwise, false.

Valeur de retour

Type : System.Boolean
true if the definition is valid; otherwise, false.

Voir aussi

Référence

Publication Classe

Espace de noms Microsoft.SqlServer.Replication