GetServerConnectionString Method
See Also 
SourceCode.Workflow.Design Namespace > DesignHelper Class : GetServerConnectionString Method



defaultFieldType
The type of the default field that identifies the server.

Glossary Item Box

Gets the connection string to the server specified through its default field type, e.g. SourceCode.Workflow.Design.EnvironmentSettings.SmartObjectField.

Syntax

Visual Basic (Declaration) 
Public Shared Function GetServerConnectionString( _
   ByVal defaultFieldType As Type _
) As String
Visual Basic (Usage)Copy Code
Dim defaultFieldType As Type
Dim value As String
 
value = DesignHelper.GetServerConnectionString(defaultFieldType)
C# 
public static string GetServerConnectionString( 
   Type defaultFieldType
)
C++/CLI 
public:
static String^ GetServerConnectionString( 
   Type^ defaultFieldType
) 

Parameters

defaultFieldType
The type of the default field that identifies the server.

Return Value

The connection string to the server as specified in the environment settings.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also