Partager via


Constructeur DataFile (FileGroup, String)

Initializes a new instance of the DataFile class on the specified file group with the specified name.

Espace de noms :  Microsoft.SqlServer.Management.Smo
Assembly :  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Syntaxe

'Déclaration
Public Sub New ( _
    fileGroup As FileGroup, _
    name As String _
)
'Utilisation
Dim fileGroup As FileGroup
Dim name As String

Dim instance As New DataFile(fileGroup, _
    name)
public DataFile(
    FileGroup fileGroup,
    string name
)
public:
DataFile(
    FileGroup^ fileGroup, 
    String^ name
)
new : 
        fileGroup:FileGroup * 
        name:string -> DataFile
public function DataFile(
    fileGroup : FileGroup, 
    name : String
)

Paramètres