Metodo ApplicationClass.GetDtsServerRoles
Questa API supporta l'infrastruttura SQL Server 2012 e non può essere utilizzata direttamente dal codice.
Returns an array of Strings that lists the roles available for a folder.
Spazio dei nomi Microsoft.SqlServer.Dts.Runtime.Wrapper
Assembly: Microsoft.SqlServer.DTSRuntimeWrap (in Microsoft.SqlServer.DTSRuntimeWrap.dll)
Sintassi
'Dichiarazione
Public Overridable Function GetDtsServerRoles ( _
bstrFolderPath As String, _
bstrServerName As String _
) As String()
'Utilizzo
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[]
Parametri
- bstrFolderPath
Tipo: System.String
The folder whose roles you are interested in.
- bstrServerName
Tipo: System.String
The name of the instance that is running the Integration Services service.
Valore restituito
Tipo: array<System.String[]
An array of Strings, each string containing a role name.
Implementa
IDTSApplication100.GetDtsServerRoles(String, String)