DataFile Constructor (FileGroup, String)
Initializes a new instance of the DataFile class on the specified file group with the specified name.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)
Syntax
'Deklaracja
Public Sub New ( _
fileGroup As FileGroup, _
name As String _
)
public DataFile (
FileGroup fileGroup,
string name
)
public:
DataFile (
FileGroup^ fileGroup,
String^ name
)
public DataFile (
FileGroup fileGroup,
String name
)
public function DataFile (
fileGroup : FileGroup,
name : String
)
Parameters
- fileGroup
A FileGroup object value that specifies the file group to which this data file belongs.
- name
A String value that specifies the name of the data file.
Platforms
Development Platforms
For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.
Target Platforms
For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.
See Also