Share via


SqlSyncScopeProvisioning.TemplateExists Method

Returns whether the specified template exists in the database.

Namespace:  Microsoft.Synchronization.Data.SqlServer
Assembly:  Microsoft.Synchronization.Data.SqlServer (in Microsoft.Synchronization.Data.SqlServer.dll)

Syntax

'Declaration
Public Function TemplateExists ( _
    templateName As String _
) As Boolean
'Usage
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

Parameters

  • templateName
    Type: System.String
    The name of the template to look up.

Return Value

Type: System.Boolean
true if the specified template exists in the database; otherwise, false.

See Also

Reference

SqlSyncScopeProvisioning Class

Microsoft.Synchronization.Data.SqlServer Namespace