Visual Basic (Declaration) | |
---|---|
Public Function WithServiceKey( _ ByVal serviceKey As String _ ) As ConnectionOptions |
Visual Basic (Usage) | ![]() |
---|---|
Dim instance As ConnectionOptions Dim serviceKey As String Dim value As ConnectionOptions value = instance.WithServiceKey(serviceKey) |
C# | |
---|---|
public ConnectionOptions WithServiceKey( string serviceKey ) |
C++/CLI | |
---|---|
public: ConnectionOptions^ WithServiceKey( String^ serviceKey ) |
Parameters
- serviceKey
- The service key to be assigned.
Return Value
A new ConnectionOptions instance.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