共用方式為


IDTSApplication100.GetDtsServerRoles(String, String) Method

Definition

Returns an array of Strings that lists the roles available for a folder.

public:
 cli::array <System::String ^> ^ GetDtsServerRoles(System::String ^ bstrFolderPath, System::String ^ bstrServerName);
[System.Runtime.InteropServices.DispId(52)]
public string[] GetDtsServerRoles (string bstrFolderPath, string bstrServerName);
[<System.Runtime.InteropServices.DispId(52)>]
abstract member GetDtsServerRoles : string * string -> string[]
Public Function GetDtsServerRoles (bstrFolderPath As String, bstrServerName As String) As String()

Parameters

bstrFolderPath
String

The folder whose roles you are interested in.

bstrServerName
String

The name of the instance that is running the Integration Services service.

Returns

String[]

An array of Strings, each string containing a role name.

Attributes

Applies to