Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.
检索属性的当前值。
public virtual bool GetProperty(const char * name, char * value)
name 要检索的属性的名称。有关有效属性名的列表,请参见 SetProperty。
value 一个至少 DBSC_MAX_PROPERTY_LEN 个字节的缓冲区,属性的值在此存储。
成功接收属性时返回 true;否则返回 false。返回 false 时,您可调用 GetErrorInfo 方法获取有关失败的详细信息。