xSQL Schema Compare SDK version 9.5 for SQL Server
GetItemByFilename Method


The file name, without the path, of the file to locate.
Returns the SqlAssemblyFile item with the specified filename.
Syntax
'Declaration
 
Public Function GetItemByFilename( _
   ByVal filename As System.String _
) As SqlAssemblyFile
public SqlAssemblyFile GetItemByFilename( 
   System.string filename
)
public: SqlAssemblyFile* GetItemByFilename( 
   System.string* filename
) 

Parameters

filename
The file name, without the path, of the file to locate.

Return Value

A SqlAssemblyFile element with the specified filename or null if no file is found.
Exceptions
ExceptionDescription
System.ArgumentNullExceptionThe filename parameter is null.
Remarks
The filename parameter is expected to be the file name without the path.
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

SqlAssemblyFileCollection Class
SqlAssemblyFileCollection Members

 

 


┬ęCopyright 2018 xSQL Software. All Rights Reserved.

Send Feedback