Cocktail Help Reference
WithEntityServiceOption Method
See Also  Send Feedback
Cocktail Assembly > Cocktail Namespace > ConnectionOptions Class : WithEntityServiceOption Method



entityServiceOption
The EntityServiceOption to be assigned.

Glossary Item Box

Creates a new ConnectionOptions from the current ConnectionOptions and assigns the specified EntityServiceOption.

Syntax

Visual Basic (Declaration) 
Public Function WithEntityServiceOption( _
   ByVal entityServiceOption As IdeaBlade.EntityModel.EntityServiceOption _
) As ConnectionOptions
Visual Basic (Usage)Copy Code
Dim instance As ConnectionOptions
Dim entityServiceOption As IdeaBlade.EntityModel.EntityServiceOption
Dim value As ConnectionOptions
 
value = instance.WithEntityServiceOption(entityServiceOption)
C# 
public ConnectionOptions WithEntityServiceOption( 
   IdeaBlade.EntityModel.EntityServiceOption entityServiceOption
)
C++/CLI 
public:
ConnectionOptions^ WithEntityServiceOption( 
   IdeaBlade.EntityModel.EntityServiceOption entityServiceOption
) 

Parameters

entityServiceOption
The EntityServiceOption to be assigned.

Return Value

A new ConnectionOptions instance.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2013 All Rights Reserved.