IDTSApplication100.GetDtsServerRoles 方法
此 API 支持 SQL Server 2012 基础结构,但不能通过代码直接使用。
Returns an array of Strings that lists the roles available for a folder.
命名空间: Microsoft.SqlServer.Dts.Runtime.Wrapper
程序集: Microsoft.SqlServer.DTSRuntimeWrap(在 Microsoft.SqlServer.DTSRuntimeWrap.dll 中)
语法
声明
Function GetDtsServerRoles ( _
bstrFolderPath As String, _
bstrServerName As String _
) As String()
用法
Dim instance As IDTSApplication100
Dim bstrFolderPath As String
Dim bstrServerName As String
Dim returnValue As String()
returnValue = instance.GetDtsServerRoles(bstrFolderPath, _
bstrServerName)
string[] GetDtsServerRoles(
string bstrFolderPath,
string bstrServerName
)
array<String^>^ GetDtsServerRoles(
[InAttribute] String^ bstrFolderPath,
[InAttribute] String^ bstrServerName
)
abstract GetDtsServerRoles :
bstrFolderPath:string *
bstrServerName:string -> string[]
function GetDtsServerRoles(
bstrFolderPath : String,
bstrServerName : String
) : String[]
参数
- bstrFolderPath
类型:System.String
The folder whose roles you are interested in.
- bstrServerName
类型:System.String
The name of the instance that is running the Integration Services service.
返回值
类型:array<System.String[]
An array of Strings, each string containing a role name.