Nota:
El acceso a esta página requiere autorización. Puede intentar iniciar sesión o cambiar directorios.
El acceso a esta página requiere autorización. Puede intentar cambiar los directorios.
Esta API admite la infraestructura de SQL Server 2012 y no está prevista su utilización directa desde el código.
Sets the database roles that have read access and write access to the package.
Espacio de nombres: Microsoft.SqlServer.Dts.Runtime.Wrapper
Ensamblado: Microsoft.SqlServer.DTSRuntimeWrap (en Microsoft.SqlServer.DTSRuntimeWrap.dll)
Sintaxis
'Declaración
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
Specifies the name and instance of the server that contains the package.
- bstrPackagePath
Tipo: System.String
Specifies the name of the package.
- bstrReaderRole
Tipo: System.String
Specifies a role to have read access.
- bstrWriterRole
Tipo: System.String
Specifies a role to have write access.
Implementa
IDTSApplication100.SetPackageRoles(String, String, String, String)