xSQL Schema Compare SDK for SQL Server version 12
GetPair Method


The schema of the pair members. Could be null or an empty string.
The name of the pair members.
The type of the pair members.
Returns a level-1 pair of objects, with the specified schema, name and type.
Syntax
'Declaration
 
Public Function GetPair( _
   ByVal schema As System.String, _
   ByVal name As System.String, _
   ByVal entityType As SqlEntityTypeEnum _
) As PairBase
public PairBase GetPair( 
   System.string schema,
   System.string name,
   SqlEntityTypeEnum entityType
)
public: PairBase* GetPair( 
   System.string* schema,
   System.string* name,
   SqlEntityTypeEnum entityType
) 

Parameters

schema
The schema of the pair members. Could be null or an empty string.
name
The name of the pair members.
entityType
The type of the pair members.
Remarks
This method locates only level-1 objects, which are top objects with no parents, such as tables, views, procedures. Objects that require a parent, such as indexes, constraints, columns, are not considered.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

SqlSchemaCompare Class
SqlSchemaCompare Members

 

 


┬ęCopyright 2022 xSQL Software. All Rights Reserved.

Send Feedback