共用方式為


ServerPassword 屬性

取得 SQL Server 驗證連接 SQL Server 資料庫所需的密碼,該資料庫會儲存原始或升級的 Integration Services 封裝。

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

語法

'宣告
Public ReadOnly Property ServerPassword As String
    Get
'用途
Dim instance As StorageInfo
Dim value As String

value = instance.ServerPassword
public string ServerPassword { get; }
public:
property String^ ServerPassword {
    String^ get ();
}
member ServerPassword : string
function get ServerPassword () : String

屬性值

型別:System. . :: . .String
SQL Server 驗證所需的密碼。