Subscription.CheckValidDefinition Method
This API supports the SQL Server 2012 infrastructure and is not intended to be used directly from your code.
Indicates whether the subscription 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
Indicates whether to throw an exception.
Return Value
Type: System.Boolean
true if the subscription definition is valid; otherwise, false.