Partager 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

'Déclaration
Public Sub UpdateContent ( _
    newContent As String _
)
'Utilisation
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

  • newContent
    Type: String
    A String containing the new content.

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