Visual Basic (Declaration) | |
---|---|
Public Function WithName( _ ByVal name As String _ ) As ConnectionOptions |
Visual Basic (Usage) | ![]() |
---|---|
Dim instance As ConnectionOptions Dim name As String Dim value As ConnectionOptions value = instance.WithName(name) |
C# | |
---|---|
public ConnectionOptions WithName( string name ) |
C++/CLI | |
---|---|
public: ConnectionOptions^ WithName( String^ name ) |
Parameters
- name
- The name to be assigned.
Return Value
A new ConnectionOptions instance.WithName must be used last. All the With... operations clear the name property.
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