Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

Application.GetDtsServerRoles Method

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

Namespace: Microsoft.SqlServer.Dts.Runtime
Assembly: Microsoft.SqlServer.ManagedDTS (in microsoft.sqlserver.manageddts.dll)
array<String^>^ GetDtsServerRoles (
	String^ sFolderPath, 
	String^ sServerName
public String[] GetDtsServerRoles (
	String sFolderPath, 
	String sServerName
public function GetDtsServerRoles (
	sFolderPath : String, 
	sServerName : String
) : String[]



The folder whose roles you are interested in.


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

Return Value

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

The following code example shows how to retrieve the server roles, assuming the variables have been set to reflect your specific server name and folder path.

No code example is currently available or this language may not be supported.
Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2014 Microsoft. All rights reserved.