Project.OpenProject 方法 (String, String)
Opens an existing project with password in the specified file.
命名空間: Microsoft.SqlServer.Dts.Runtime
組件: Microsoft.SqlServer.ManagedDTS (在 Microsoft.SqlServer.ManagedDTS.dll 中)
語法
'宣告
Public Shared Function OpenProject ( _
projectFileName As String, _
projectPassword As String _
) As Project
'用途
Dim projectFileName As String
Dim projectPassword As String
Dim returnValue As Project
returnValue = Project.OpenProject(projectFileName, _
projectPassword)
public static Project OpenProject(
string projectFileName,
string projectPassword
)
public:
static Project^ OpenProject(
String^ projectFileName,
String^ projectPassword
)
static member OpenProject :
projectFileName:string *
projectPassword:string -> Project
public static function OpenProject(
projectFileName : String,
projectPassword : String
) : Project
參數
- projectFileName
型別:System.String
The project file path.
- projectPassword
型別:System.String
The password used in the project.
傳回值
型別:Microsoft.SqlServer.Dts.Runtime.Project
An opened project.