VstaHelper.AddFileToProject Method
This API supports the SQL Server 2012 infrastructure and is not intended to be used directly from your code.
Indicates whether the file is added to the project.
Namespace: Microsoft.SqlServer.IntegrationServices.VSTA
Assembly: Microsoft.SqlServer.IntegrationServices.VSTA (in Microsoft.SqlServer.IntegrationServices.VSTA.dll)
Syntax
'Declaration
Public Function AddFileToProject ( _
fileName As String, _
contents As String _
) As Boolean
'Usage
Dim instance As VstaHelper
Dim fileName As String
Dim contents As String
Dim returnValue As Boolean
returnValue = instance.AddFileToProject(fileName, _
contents)
public bool AddFileToProject(
string fileName,
string contents
)
public:
virtual bool AddFileToProject(
String^ fileName,
String^ contents
) sealed
abstract AddFileToProject :
fileName:string *
contents:string -> bool
override AddFileToProject :
fileName:string *
contents:string -> bool
public final function AddFileToProject(
fileName : String,
contents : String
) : boolean
Parameters
- fileName
Type: System.String
The name of the file to add.
- contents
Type: System.String
The contents of the file.
Return Value
Type: System.Boolean
true if the operation succeeded; otherwise, false.