Publication.CheckValidDefinition 方法

此 API 支持 SQL Server 2012 基础结构,但不能通过代码直接使用。

Indicates whether to check valid definition.

命名空间:  Microsoft.SqlServer.Replication
程序集:  Microsoft.SqlServer.Rmo(在 Microsoft.SqlServer.Rmo.dll 中)

语法

声明
Protected Overrides Function CheckValidDefinition ( _
    throwException As Boolean _
) As Boolean
用法
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

参数

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

返回值

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

请参阅

参考

Publication 类

Microsoft.SqlServer.Replication 命名空间