UpdateContent 方法

Replaces the contents of the source file.

命名空间:  Microsoft.SqlServer.Management.Dac
程序集:  Microsoft.SqlServer.Management.Dac(在 Microsoft.SqlServer.Management.Dac.dll 中)

语法

声明
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
)

参数

注释

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