Compartilhar via


Método Subscription.CheckValidDefinition

Essa API oferece suporte à infraestrutura do SQL Server 2012 e não se destina a ser usada diretamente no seu código.

Indicates whether the subscription definition is valid.

Namespace:  Microsoft.SqlServer.Replication
Assembly:  Microsoft.SqlServer.Rmo (em Microsoft.SqlServer.Rmo.dll)

Sintaxe

'Declaração
Protected Overrides Function CheckValidDefinition ( _
    throwException As Boolean _
) As Boolean
'Uso
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

Parâmetros

  • throwException
    Tipo: System.Boolean
    Indicates whether to throw an exception.

Valor de retorno

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

Consulte também

Referência

Subscription Classe

Namespace Microsoft.SqlServer.Replication