Udostępnij za pośrednictwem


ReplicationObject.CheckValidDefinition Method

This API supports the SQL Server 2012 infrastructure and is not intended to be used directly from your code.

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

Parameters

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

Return Value

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

See Also

Reference

ReplicationObject Class

Microsoft.SqlServer.Replication Namespace