Share via


TSqlSourceFile.UpdateContent Method

Replaces the contents of the source file.

Namespace:  Microsoft.SqlServer.Management.Dac
Assembly:  Microsoft.SqlServer.Management.Dac (in Microsoft.SqlServer.Management.Dac.dll)

Syntax

'Declaration
Public Sub UpdateContent ( _
    newContent As String _
)
'Usage
Dim instance As TSqlSourceFile
Dim newContent As String

instance.UpdateContent(newContent)
public void UpdateContent(
    string newContent
)
public:
void UpdateContent(
    String^ newContent
)
member UpdateContent : 
        newContent:string -> unit 
public function UpdateContent(
    newContent : String
)

Parameters

Remarks

This method replaces the original content of the source file with the content specified by the newContent parameter.

See Also

Reference

TSqlSourceFile Class

Microsoft.SqlServer.Management.Dac Namespace