共用方式為


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 命名空間