DataFile Constructor (FileGroup, String, String)
Initializes a new instance of the DataFile class on the specified file group with the specified name and file name.
Espacio de nombres: Microsoft.SqlServer.Management.Smo
Ensamblado: Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)
Sintaxis
'Declaración
Public Sub New ( _
fileGroup As FileGroup, _
name As String, _
fileName As String _
)
'Uso
Dim fileGroup As FileGroup
Dim name As String
Dim fileName As String
Dim instance As New DataFile(fileGroup, _
name, fileName)
public DataFile(
FileGroup fileGroup,
string name,
string fileName
)
public:
DataFile(
FileGroup^ fileGroup,
String^ name,
String^ fileName
)
new :
fileGroup:FileGroup *
name:string *
fileName:string -> DataFile
public function DataFile(
fileGroup : FileGroup,
name : String,
fileName : String
)
Parámetros
- fileGroup
Tipo: Microsoft.SqlServer.Management.Smo.FileGroup
A FileGroup object value that specifies the file group to which this data file belongs.
- name
Tipo: System.String
A String value that specifies the name of the data file.
- fileName
Tipo: System.String
A String value that specifies the file name of the data file.
Ejemplos
Utilizar grupos de archivos y archivos para almacenar datos
Vea también
Referencia
Espacio de nombres Microsoft.SqlServer.Management.Smo