Megosztás a következőn keresztül:


SqlSmoObject.GenerateDataSpaceScript Method

Generates a script to allocate space in the data file.

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

Syntax

'Declaration
Protected Sub GenerateDataSpaceScript ( _
    parentScript As StringBuilder, _
    so As ScriptingOptions _
)
'Usage
Dim parentScript As StringBuilder
Dim so As ScriptingOptions

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

Parameters