GetPackageRoles méthode
Cette API prend en charge l'infrastructure .NET Framework et n'est pas destinée à être utilisée directement à partir de votre code.
For more information, see ApplicationClass.
Espace de noms : Microsoft.SqlServer.Dts.Runtime.Wrapper
Assembly : Microsoft.SqlServer.DTSRuntimeWrap (dans Microsoft.SqlServer.DTSRuntimeWrap.dll)
Syntaxe
'Déclaration
Sub GetPackageRoles ( _
bstrServerName As String, _
bstrPackagePath As String, _
<OutAttribute> ByRef pbstrReaderRole As String, _
<OutAttribute> ByRef pbstrWriterRole As String _
)
'Utilisation
Dim instance As IDTSApplication100
Dim bstrServerName As String
Dim bstrPackagePath As String
Dim pbstrReaderRole As String
Dim pbstrWriterRole As String
instance.GetPackageRoles(bstrServerName, _
bstrPackagePath, pbstrReaderRole, _
pbstrWriterRole)
void GetPackageRoles(
string bstrServerName,
string bstrPackagePath,
out string pbstrReaderRole,
out string pbstrWriterRole
)
void GetPackageRoles(
[InAttribute] String^ bstrServerName,
[InAttribute] String^ bstrPackagePath,
[OutAttribute] String^% pbstrReaderRole,
[OutAttribute] String^% pbstrWriterRole
)
abstract GetPackageRoles :
bstrServerName:string *
bstrPackagePath:string *
pbstrReaderRole:string byref *
pbstrWriterRole:string byref -> unit
function GetPackageRoles(
bstrServerName : String,
bstrPackagePath : String,
pbstrReaderRole : String,
pbstrWriterRole : String
)
Paramètres
- bstrServerName
Type : System. . :: . .String
- bstrPackagePath
Type : System. . :: . .String
- pbstrReaderRole
Type : System. . :: . .String%
- pbstrWriterRole
Type : System. . :: . .String%