次の方法で共有


IDTSApplication90.SetPackageRoles Method

このメソッドは、SQL Server 2005 インフラストラクチャをサポートします。独自に作成したコードから直接使用するためのものではありません。

詳細については、「ApplicationClass」を参照してください。

名前空間: Microsoft.SqlServer.Dts.Runtime.Wrapper
アセンブリ: Microsoft.SqlServer.DTSRuntimeWrap (microsoft.sqlserver.dtsruntimewrap.dll 内)

構文

'宣言
<DispIdAttribute(63)> _
Sub SetPackageRoles ( _
    <InAttribute> bstrServerName As String, _
    <InAttribute> bstrPackagePath As String, _
    <InAttribute> bstrReaderRole As String, _
    <InAttribute> bstrWriterRole As String _
)
[DispIdAttribute(63)] 
void SetPackageRoles (
    [InAttribute] string bstrServerName,
    [InAttribute] string bstrPackagePath,
    [InAttribute] string bstrReaderRole,
    [InAttribute] string bstrWriterRole
)
[DispIdAttribute(63)] 
void SetPackageRoles (
    [InAttribute] String^ bstrServerName, 
    [InAttribute] String^ bstrPackagePath, 
    [InAttribute] String^ bstrReaderRole, 
    [InAttribute] String^ bstrWriterRole
)
/** @attribute DispIdAttribute(63) */ 
void SetPackageRoles (
    /** @attribute InAttribute() */ String bstrServerName, 
    /** @attribute InAttribute() */ String bstrPackagePath, 
    /** @attribute InAttribute() */ String bstrReaderRole, 
    /** @attribute InAttribute() */ String bstrWriterRole
)
DispIdAttribute(63) 
function SetPackageRoles (
    bstrServerName : String, 
    bstrPackagePath : String, 
    bstrReaderRole : String, 
    bstrWriterRole : String
)

パラメータ

  • bstrServerName
  • bstrPackagePath
  • bstrReaderRole
  • bstrWriterRole

スレッド セーフ

この型の public static (Microsoft Visual Basic では共有 ) メンバは、スレッド セーフです。インスタンス メンバの場合は、スレッド セーフであるとは限りません。

プラットフォーム

開発プラットフォーム

サポートされているプラットフォームの一覧については、「SQL Server 2005 のインストールに必要なハードウェアおよびソフトウェア」を参照してください。

対象プラットフォーム

サポートされているプラットフォームの一覧については、「SQL Server 2005 のインストールに必要なハードウェアおよびソフトウェア」を参照してください。

参照

関連項目

IDTSApplication90 Interface
IDTSApplication90 Members
Microsoft.SqlServer.Dts.Runtime.Wrapper Namespace