TemplateExists メソッド

指定されたテンプレートがデータベース内に存在するかどうかを示す値を返します。

名前空間:  Microsoft.Synchronization.Data.SqlServer
アセンブリ:  Microsoft.Synchronization.Data.SqlServer (Microsoft.Synchronization.Data.SqlServer.dll 内)

構文

'宣言
Public Function TemplateExists ( _
    templateName As String _
) As Boolean
'使用
Dim instance As SqlSyncScopeProvisioning
Dim templateName As String
Dim returnValue As Boolean

returnValue = instance.TemplateExists(templateName)
public bool TemplateExists(
    string templateName
)
public:
bool TemplateExists(
    String^ templateName
)
member TemplateExists : 
        templateName:string -> bool 
public function TemplateExists(
    templateName : String
) : boolean

パラメーター

戻り値

型 : System. . :: . .Boolean
指定されたテンプレートがデータベース内に存在する場合は true、それ以外の場合は false です。

参照

参照

SqlSyncScopeProvisioningクラス

SqlSyncScopeProvisioning メンバー

Microsoft.Synchronization.Data.SqlServer 名前空間