Método SetPackageRoles
Esta API tem suporte para a infraestrutura do .NET Framework e não deve ser usada diretamente do seu código.
For more information, see Application.
Namespace: Microsoft.SqlServer.Dts.Runtime.Wrapper
Assembly: Microsoft.SqlServer.DTSRuntimeWrap (em Microsoft.SqlServer.DTSRuntimeWrap.dll)
Sintaxe
'Declaração
Public Overridable Sub SetPackageRoles ( _
bstrServerName As String, _
bstrPackagePath As String, _
bstrReaderRole As String, _
bstrWriterRole As String _
)
'Uso
Dim instance As ApplicationClass
Dim bstrServerName As String
Dim bstrPackagePath As String
Dim bstrReaderRole As String
Dim bstrWriterRole As String
instance.SetPackageRoles(bstrServerName, _
bstrPackagePath, bstrReaderRole, _
bstrWriterRole)
public virtual void SetPackageRoles(
string bstrServerName,
string bstrPackagePath,
string bstrReaderRole,
string bstrWriterRole
)
public:
virtual 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
override SetPackageRoles :
bstrServerName:string *
bstrPackagePath:string *
bstrReaderRole:string *
bstrWriterRole:string -> unit
public function SetPackageRoles(
bstrServerName : String,
bstrPackagePath : String,
bstrReaderRole : String,
bstrWriterRole : String
)
Parâmetros
- bstrServerName
Tipo: System. . :: . .String
- bstrPackagePath
Tipo: System. . :: . .String
- bstrReaderRole
Tipo: System. . :: . .String
- bstrWriterRole
Tipo: System. . :: . .String
Implementa
IDTSApplication100. . :: . .SetPackageRoles(String, String, String, String)
Consulte também