다음을 통해 공유


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

‘선언
Public Sub UpdateContent ( _
    newContent As String _
)
‘사용 방법
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