Sdílet prostřednictvím


Article.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 Overrides Function CheckValidDefinition ( _
    throwException As Boolean _
) As Boolean
'Usage
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

Parameters

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

Return Value

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

See Also

Reference

Article Class

Microsoft.SqlServer.Replication Namespace