SqlCeReplication.PublisherPassword 属性

此类型具有 SecurityCriticalAttribute 属性,该属性将其限制为仅供 .NET Framework 内部用于 Silverlight 类库。使用此类型的任何成员的应用程序代码都将引发 MethodAccessException。

[SECURITY CRITICAL]

指定连接到发布服务器时使用的登录密码。

命名空间:  System.Data.SqlServerCe
程序集:  System.Data.SqlServerCe(在 System.Data.SqlServerCe.dll 中)

语法

声明
Public Property PublisherPassword As String
    Get
    Set
用法
Dim instance As SqlCeReplication
Dim value As String

value = instance.PublisherPassword

instance.PublisherPassword = value
public string PublisherPassword { get; set; }
public:
property String^ PublisherPassword {
    String^ get ();
    void set (String^ value);
}
member PublisherPassword : string with get, set
function get PublisherPassword () : String
function set PublisherPassword (value : String)

属性值

类型:System.String
登录密码。默认为没有密码(空字符串)。

请参阅

参考

SqlCeReplication 类

System.Data.SqlServerCe 命名空间