共用方式為


DataFile Constructors

Definition

Overloads

DataFile()
DataFile(FileGroup, String)
DataFile(FileGroup, String, String)

DataFile()

public DataFile ();
Public Sub New ()

Applies to

DataFile(FileGroup, String)

public DataFile (Microsoft.SqlServer.Management.Smo.FileGroup fileGroup, string name);
new Microsoft.SqlServer.Management.Smo.DataFile : Microsoft.SqlServer.Management.Smo.FileGroup * string -> Microsoft.SqlServer.Management.Smo.DataFile
Public Sub New (fileGroup As FileGroup, name As String)

Parameters

fileGroup
FileGroup
name
String

Applies to

DataFile(FileGroup, String, String)

public DataFile (Microsoft.SqlServer.Management.Smo.FileGroup fileGroup, string name, string fileName);
new Microsoft.SqlServer.Management.Smo.DataFile : Microsoft.SqlServer.Management.Smo.FileGroup * string * string -> Microsoft.SqlServer.Management.Smo.DataFile
Public Sub New (fileGroup As FileGroup, name As String, fileName As String)

Parameters

fileGroup
FileGroup
name
String
fileName
String

Applies to