DatabaseTaskHost.GetServerProperty 方法

返回服务器属性的值。

命名空间:  Microsoft.Data.Schema.Build
程序集:  Microsoft.Data.Schema(在 Microsoft.Data.Schema.dll 中)

语法

声明
Public Overridable Function GetServerProperty ( _
    name As String _
) As String
public virtual string GetServerProperty(
    string name
)
public:
virtual String^ GetServerProperty(
    String^ name
)
abstract GetServerProperty : 
        name:string -> string 
override GetServerProperty : 
        name:string -> string 
public function GetServerProperty(
    name : String
) : String

参数

返回值

类型:System.String

.NET Framework 安全性

请参见

参考

DatabaseTaskHost 类

Microsoft.Data.Schema.Build 命名空间