DataFile 构造函数 (FileGroup, String, String)

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

命名空间:  Microsoft.SqlServer.Management.Smo
程序集:  Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)

语法

声明
Public Sub New ( _
    fileGroup As FileGroup, _
    name As String, _
    fileName As String _
)
用法
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
)

参数