Freigeben über


ReplicationObject.CheckValidDefinition-Methode

Diese API unterstützt die SQL Server 2012-Infrastruktur und ist nicht zur direkten Verwendung im Code bestimmt.

Indicates whether the definition is valid.

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

Syntax

'Declaration
Protected Overridable Function CheckValidDefinition ( _
    throwException As Boolean _
) As Boolean
'Usage
Dim throwException As Boolean 
Dim returnValue As Boolean 

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

Parameter

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

Rückgabewert

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

Siehe auch

Verweis

ReplicationObject Klasse

Microsoft.SqlServer.Replication-Namespace