共用方式為


UpgradePackageInfo.HasPassword 屬性

Gets a value that specifies whether an upgraded Integration Services package is password protected.

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

語法

'宣告
Public ReadOnly Property HasPassword As Boolean 
    Get
'用途
Dim instance As UpgradePackageInfo 
Dim value As Boolean 

value = instance.HasPassword
public bool HasPassword { get; }
public:
property bool HasPassword {
    bool get ();
}
member HasPassword : bool
function get HasPassword () : boolean

屬性值

型別:System.Boolean
A value that specifies whether an upgraded package is encrypted with a password.

請參閱

參考

UpgradePackageInfo 類別

Microsoft.SqlServer.Dts.Runtime 命名空間