Connection 屬性
Gets or sets the connection with an instance of SQL Server.
命名空間: Microsoft.SqlServer.Management.Trace
組件: Microsoft.SqlServer.ConnectionInfoExtended (在 Microsoft.SqlServer.ConnectionInfoExtended.dll 中)
語法
'宣告
Public Property Connection As ConnectionInfoBase
Get
Set
'用途
Dim instance As TraceReplay
Dim value As ConnectionInfoBase
value = instance.Connection
instance.Connection = value
public ConnectionInfoBase Connection { get; set; }
public:
property ConnectionInfoBase^ Connection {
ConnectionInfoBase^ get ();
void set (ConnectionInfoBase^ value);
}
member Connection : ConnectionInfoBase with get, set
function get Connection () : ConnectionInfoBase
function set Connection (value : ConnectionInfoBase)
屬性值
型別:Microsoft.SqlServer.Management.Common. . :: . .ConnectionInfoBase
A SqlConnectionInfo object value that specifies the connection with an instance of SQL Server.