Partager via


Méthode UpdateContent

Replaces the contents of the source file.

Espace de noms :  Microsoft.SqlServer.Management.Dac
Assembly :  Microsoft.SqlServer.Management.Dac (en Microsoft.SqlServer.Management.Dac.dll)

Syntaxe

'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
)

Paramètres

Notes

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