Compartir a través de


SetPackageRoles Método

Esta API admite la infraestructura de y no está prevista su utilización directa desde el código.

For more information, see ApplicationClass.

Espacio de nombres:  Microsoft.SqlServer.Dts.Runtime.Wrapper
Ensamblado:  Microsoft.SqlServer.DTSRuntimeWrap (en Microsoft.SqlServer.DTSRuntimeWrap.dll)

Sintaxis

'Declaración
Sub SetPackageRoles ( _
    bstrServerName As String, _
    bstrPackagePath As String, _
    bstrReaderRole As String, _
    bstrWriterRole As String _
)
'Uso
Dim instance As IDTSApplication100
Dim bstrServerName As String
Dim bstrPackagePath As String
Dim bstrReaderRole As String
Dim bstrWriterRole As String

instance.SetPackageRoles(bstrServerName, _
    bstrPackagePath, bstrReaderRole, _
    bstrWriterRole)
void SetPackageRoles(
    string bstrServerName,
    string bstrPackagePath,
    string bstrReaderRole,
    string bstrWriterRole
)
void SetPackageRoles(
    [InAttribute] String^ bstrServerName, 
    [InAttribute] String^ bstrPackagePath, 
    [InAttribute] String^ bstrReaderRole, 
    [InAttribute] String^ bstrWriterRole
)
abstract SetPackageRoles : 
        bstrServerName:string * 
        bstrPackagePath:string * 
        bstrReaderRole:string * 
        bstrWriterRole:string -> unit 
function SetPackageRoles(
    bstrServerName : String, 
    bstrPackagePath : String, 
    bstrReaderRole : String, 
    bstrWriterRole : String
)

Parámetros