다음을 통해 공유


DataFile 생성자 (FileGroup, String)

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

네임스페이스:  Microsoft.SqlServer.Management.Smo
어셈블리:  Microsoft.SqlServer.Smo(Microsoft.SqlServer.Smo.dll)

구문

‘선언
Public Sub New ( _
    fileGroup As FileGroup, _
    name As String _
)
‘사용 방법
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
)

매개 변수