DisplayName 属性
此 API 支持 基础结构,但不能通过代码直接使用。
不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。 Gets or sets a String value that specifies the display name of the connection.
命名空间: Microsoft.SqlServer.Management.Smo.RegSvrEnum
程序集: Microsoft.SqlServer.RegSvrEnum(在 Microsoft.SqlServer.RegSvrEnum.dll 中)
语法
声明
Public Property DisplayName As String
Get
Set
用法
Dim instance As UIConnectionInfo
Dim value As String
value = instance.DisplayName
instance.DisplayName = value
public string DisplayName { get; set; }
public:
property String^ DisplayName {
String^ get ();
void set (String^ value);
}
member DisplayName : string with get, set
function get DisplayName () : String
function set DisplayName (value : String)
属性值
类型:System. . :: . .String
A String value that specifies the display name of the connection.