다음을 통해 공유


DacPackage.Load 메서드 (String)

Load a package file specified by fileName.

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

구문

‘선언
Public Shared Function Load ( _
    fileName As String _
) As DacPackage
‘사용 방법
Dim fileName As String 
Dim returnValue As DacPackage 

returnValue = DacPackage.Load(fileName)
public static DacPackage Load(
    string fileName
)
public:
static DacPackage^ Load(
    String^ fileName
)
static member Load : 
        fileName:string -> DacPackage
public static function Load(
    fileName : String
) : DacPackage

매개 변수

반환 값

유형: Microsoft.SqlServer.Dac.DacPackage
DacPackage instance that represents the package loaded from the specified file.

예외

예외 조건
DacServicesException

If there is a problem reading the package; or if the package contains exported data.

참고 항목

참조

DacPackage 클래스

Load 오버로드

Microsoft.SqlServer.Dac 네임스페이스