DB2ConnectionStringBuilder.TargetPrincipal property

Gets or sets the value representing fully qualified Kerberos principal name for the target server.

Namespace:
IBM.Data.DB2
Assembly:
IBM.Data.DB2 (in IBM.Data.DB2.dll)

Syntax


[Visual Basic]
Public Property TargetPrincipal As String
[C#]
public string TargetPrincipal {get; set;}
[C++]
public: __property String* get_TargetPrincipal ();
public: __property void set_TargetPrincipal(String*);
[JScript]
public function get TargetPrincipal (): String;
public function set TargetPrincipal (String);

Property value

Fully qualified Kerberos principal name for the target server; that is, the fully qualified Kerberos principal of the Db2® instance owner in the form of name/instance@REALM. In Windows operating systems, the fully qualified Kerberos principal name is the logon account of the Db2 server service in the form of userid@DOMAIN, userid@xxx.xxx.xxx.com or domain\userid.