共用方式為


BusinessLogicHandler.CheckValidDefinition 方法

此 API 支援 SQL Server 2012 基礎結構,但無法直接從您的程式碼使用。

Indicates whether the definition is valid.

命名空間:  Microsoft.SqlServer.Replication
組件:  Microsoft.SqlServer.Rmo (在 Microsoft.SqlServer.Rmo.dll 中)

語法

'宣告
Public Function CheckValidDefinition ( _
    throwException As Boolean _
) As Boolean
'用途
Dim instance As BusinessLogicHandler 
Dim throwException As Boolean 
Dim returnValue As Boolean 

returnValue = instance.CheckValidDefinition(throwException)
public bool CheckValidDefinition(
    bool throwException
)
public:
bool CheckValidDefinition(
    bool throwException
)
member CheckValidDefinition : 
        throwException:bool -> bool
public 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.

請參閱

參考

BusinessLogicHandler 類別

Microsoft.SqlServer.Replication 命名空間