次の方法で共有


GetSqlPassword メソッド

SQL Server パスワードを返します。

名前空間:  Microsoft.SqlServer.Dts.Tasks.Exec80PackageTask
アセンブリ:  Microsoft.SqlServer.Exec80PackageTask (Microsoft.SqlServer.Exec80PackageTask.dll)

構文

'宣言
<StrongNameIdentityPermissionAttribute(SecurityAction.LinkDemand, Name := "Microsoft.SqlServer.Exec80PackageTaskUI",  _
    PublicKey := "0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8")> _
Public Function GetSqlPassword As String
'使用
Dim instance As Exec80PackageTask
Dim returnValue As String

returnValue = instance.GetSqlPassword()
[StrongNameIdentityPermissionAttribute(SecurityAction.LinkDemand, Name = "Microsoft.SqlServer.Exec80PackageTaskUI", 
    PublicKey = "0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8")]
public string GetSqlPassword()
[StrongNameIdentityPermissionAttribute(SecurityAction::LinkDemand, Name = L"Microsoft.SqlServer.Exec80PackageTaskUI", 
    PublicKey = L"0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8")]
public:
String^ GetSqlPassword()
[<StrongNameIdentityPermissionAttribute(SecurityAction.LinkDemand, Name = "Microsoft.SqlServer.Exec80PackageTaskUI", 
    PublicKey = "0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8")>]
member GetSqlPassword : unit -> string 
public function GetSqlPassword() : String

戻り値

型: System. . :: . .String
パッケージの SQL Server パスワードを表す String です。