Metodo SetPackageRoles
Questa API supporta l'infrastruttura e non può essere utilizzata direttamente dal codice.
For more information, see ApplicationClass.
Spazio dei nomi Microsoft.SqlServer.Dts.Runtime.Wrapper
Assembly: Microsoft.SqlServer.DTSRuntimeWrap (in Microsoft.SqlServer.DTSRuntimeWrap.dll)
Sintassi
'Dichiarazione
Sub SetPackageRoles ( _
bstrServerName As String, _
bstrPackagePath As String, _
bstrReaderRole As String, _
bstrWriterRole As String _
)
'Utilizzo
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
)
Parametri
- bstrServerName
Tipo: System. . :: . .String
- bstrPackagePath
Tipo: System. . :: . .String
- bstrReaderRole
Tipo: System. . :: . .String
- bstrWriterRole
Tipo: System. . :: . .String
Vedere anche