GetDtsServerRoles 方法
此 API 支援 .NET Framework 結構,但並不是針對直接從程式碼使用而設計。
For more information, see Application.
命名空間: Microsoft.SqlServer.Dts.Runtime.Wrapper
組件: Microsoft.SqlServer.DTSRuntimeWrap (在 Microsoft.SqlServer.DTSRuntimeWrap.dll 中)
語法
'宣告
Public Overridable Function GetDtsServerRoles ( _
bstrFolderPath As String, _
bstrServerName As String _
) As String()
'用途
Dim instance As ApplicationClass
Dim bstrFolderPath As String
Dim bstrServerName As String
Dim returnValue As String()
returnValue = instance.GetDtsServerRoles(bstrFolderPath, _
bstrServerName)
public virtual string[] GetDtsServerRoles(
string bstrFolderPath,
string bstrServerName
)
public:
virtual array<String^>^ GetDtsServerRoles(
[InAttribute] String^ bstrFolderPath,
[InAttribute] String^ bstrServerName
)
abstract GetDtsServerRoles :
bstrFolderPath:string *
bstrServerName:string -> string[]
override GetDtsServerRoles :
bstrFolderPath:string *
bstrServerName:string -> string[]
public function GetDtsServerRoles(
bstrFolderPath : String,
bstrServerName : String
) : String[]
傳回值
型別:array<System. . :: . .String> [] () [] []
實作
IDTSApplication100. . :: . .GetDtsServerRoles(String, String)