Язык

ApplicationClass.GetPackageRoles(String, String, String, String) Метод

Определение

Возвращает роли базы данных, которые имеют доступ к чтению и записи в пакет.

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)

Параметры

bstrServerName
String

Указывает имя и экземпляр сервера, содержащего пакет.

bstrPackagePath
String

Указывает название пакета.

pbstrReaderRole
String

Когда этот метод возвращается, содержит роли с доступом к чтению. Этот параметр передается неинициализирован.

pbstrWriterRole
String

Когда этот метод возвращается, содержит роли с доступом к записи. Этот параметр передается неинициализирован.

Реализации

Атрибуты

Применяется к