GetPackageRoles 方法
此 API 支持 SQL Server 2008 基础结构,但不能通过代码直接使用。
For more information, see ApplicationClass.
命名空间: Microsoft.SqlServer.Dts.Runtime.Wrapper
程序集: Microsoft.SqlServer.DTSRuntimeWrap(在 Microsoft.SqlServer.DTSRuntimeWrap.dll 中)
语法
声明
Sub GetPackageRoles ( _
bstrServerName As String, _
bstrPackagePath As String, _
<OutAttribute> ByRef pbstrReaderRole As String, _
<OutAttribute> ByRef pbstrWriterRole As String _
)
用法
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
)
参数
- bstrServerName
类型:System. . :: . .String
- bstrPackagePath
类型:System. . :: . .String
- pbstrReaderRole
类型:System. . :: . .String%
- pbstrWriterRole
类型:System. . :: . .String%