共用方式為


IDTSProject100.GetProtectionLevel 方法

此 API 支援 SQL Server 2012 基礎結構,但無法直接從您的程式碼使用。

Gets the protection level of the project.

命名空間:  Microsoft.SqlServer.Dts.Runtime.Wrapper
組件:  Microsoft.SqlServer.DTSRuntimeWrap (在 Microsoft.SqlServer.DTSRuntimeWrap.dll 中)

語法

'宣告
Function GetProtectionLevel As DTSProtectionLevel
'用途
Dim instance As IDTSProject100 
Dim returnValue As DTSProtectionLevel 

returnValue = instance.GetProtectionLevel()
DTSProtectionLevel GetProtectionLevel()
DTSProtectionLevel GetProtectionLevel()
abstract GetProtectionLevel : unit -> DTSProtectionLevel
function GetProtectionLevel() : DTSProtectionLevel

傳回值

型別:Microsoft.SqlServer.Dts.Runtime.Wrapper.DTSProtectionLevel
The protection level of the project.

請參閱

參考

IDTSProject100 介面

Microsoft.SqlServer.Dts.Runtime.Wrapper 命名空間