Linguaggio

ApplicationClass.GetPackageRoles(String, String, String, String) Metodo

Definizione

Restituisce i ruoli del database che hanno accesso alla lettura e alla scrittura al pacchetto.

public:
 virtual void GetPackageRoles(System::String ^ bstrServerName, System::String ^ bstrPackagePath, [Runtime::InteropServices::Out] System::String ^ % pbstrReaderRole, [Runtime::InteropServices::Out] System::String ^ % pbstrWriterRole) = Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSApplication130::GetPackageRoles;
public:
 virtual void GetPackageRoles(System::String ^ bstrServerName, System::String ^ bstrPackagePath, [Runtime::InteropServices::Out] System::String ^ % pbstrReaderRole, [Runtime::InteropServices::Out] System::String ^ % pbstrWriterRole) = Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSApplication150::GetPackageRoles;
[System.Runtime.InteropServices.DispId(64)]
public virtual void GetPackageRoles(string bstrServerName, string bstrPackagePath, out string pbstrReaderRole, out string pbstrWriterRole);
[<System.Runtime.InteropServices.DispId(64)>]
abstract member GetPackageRoles : string * string * string * string -> unit
override this.GetPackageRoles : string * string * string * string -> unit
Public Overridable Sub GetPackageRoles (bstrServerName As String, bstrPackagePath As String, ByRef pbstrReaderRole As String, ByRef pbstrWriterRole As String)

Parametri

bstrServerName
String

Specifica il nome e l'istanza del server che contiene il pacchetto.

bstrPackagePath
String

Specifica il nome del pacchetto.

pbstrReaderRole
String

Quando questo metodo ritorna, contiene i ruoli con accesso di lettura. Questo parametro viene passato non inizializzato.

pbstrWriterRole
String

Quando questo metodo ritorna, contiene i ruoli con accesso scritto. Questo parametro viene passato non inizializzato.

Implementazioni

Attributi

Si applica a