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
参数
- name
类型:System.String
属性名称。
返回值
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。