Delen via


SqlSmoObject.GenerateDataSpaceFileStreamScript Method

Generates a script to create data file.

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

Syntax

'Declaration
Protected Sub GenerateDataSpaceFileStreamScript ( _
    parentScript As StringBuilder, _
    so As ScriptingOptions, _
    alterTable As Boolean _
)
'Usage
Dim parentScript As StringBuilder
Dim so As ScriptingOptions
Dim alterTable As Boolean

Me.GenerateDataSpaceFileStreamScript(parentScript, _
    so, alterTable)
protected void GenerateDataSpaceFileStreamScript(
    StringBuilder parentScript,
    ScriptingOptions so,
    bool alterTable
)
protected:
void GenerateDataSpaceFileStreamScript(
    StringBuilder^ parentScript, 
    ScriptingOptions^ so, 
    bool alterTable
)
member GenerateDataSpaceFileStreamScript : 
        parentScript:StringBuilder * 
        so:ScriptingOptions * 
        alterTable:bool -> unit 
protected function GenerateDataSpaceFileStreamScript(
    parentScript : StringBuilder, 
    so : ScriptingOptions, 
    alterTable : boolean
)

Parameters

  • alterTable
    Type: System.Boolean
    A Boolean value that specifies whether to alter the table.