Metoda IDTSApplication100.SetPackageRoles
Ten interfejs API obsługuje infrastrukturę programu i nie jest przeznaczony do użycia bezpośrednio w kodzie.
Aby uzyskać więcej informacji, zobacz temat ApplicationClass.
Przestrzeń nazw: Microsoft.SqlServer.Dts.Runtime.Wrapper
Zestaw: Microsoft.SqlServer.DTSRuntimeWrap (w Microsoft.SqlServer.DTSRuntimeWrap.dll)
Składnia
'Deklaracja
Sub SetPackageRoles ( _
bstrServerName As String, _
bstrPackagePath As String, _
bstrReaderRole As String, _
bstrWriterRole As String _
)
'Użycie
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
)
Parametry
- bstrServerName
Typ: System.String
- bstrPackagePath
Typ: System.String
- bstrReaderRole
Typ: System.String
- bstrWriterRole
Typ: System.String
Zobacz także